[Scipy-svn] r2795 - trunk/Lib/sandbox/timeseries/io/fame/tests

scipy-svn@scip... scipy-svn@scip...
Wed Feb 28 15:50:52 CST 2007


Author: mattknox_ca
Date: 2007-02-28 15:50:48 -0600 (Wed, 28 Feb 2007)
New Revision: 2795

Modified:
   trunk/Lib/sandbox/timeseries/io/fame/tests/test_fame.py
Log:


Modified: trunk/Lib/sandbox/timeseries/io/fame/tests/test_fame.py
===================================================================
--- trunk/Lib/sandbox/timeseries/io/fame/tests/test_fame.py	2007-02-28 21:50:29 UTC (rev 2794)
+++ trunk/Lib/sandbox/timeseries/io/fame/tests/test_fame.py	2007-02-28 21:50:48 UTC (rev 2795)
@@ -18,6 +18,7 @@
 from numpy.testing.utils import build_err_msg
 
 from timeseries.io import fame
+from timeseries.io.fame import const
 from timeseries import Report
 import timeseries as ts
 import maskedarray as ma
@@ -478,10 +479,10 @@
         assert_equal(desc, _desc)
         assert_equal(doc, _doc)
         
-        self.db.set_obj_basis("$freq_b", fame.HBSDAY)
-        assert_equal(self.db.obj_basis("$freq_b"), fame.HBSDAY)
-        self.db.set_obj_basis("$freq_b", fame.HBSBUS)
-        assert_equal(self.db.obj_basis("$freq_b"), fame.HBSBUS)
+        self.db.set_obj_basis("$freq_b", const.HBSDAY)
+        assert_equal(self.db.obj_basis("$freq_b"), const.HBSDAY)
+        self.db.set_obj_basis("$freq_b", const.HBSBUS)
+        assert_equal(self.db.obj_basis("$freq_b"), const.HBSBUS)
         
         self.db.set_obj_observed("$freq_b", "END")
         assert_equal(self.db.obj_observed("$freq_b"), "ENDING")



More information about the Scipy-svn mailing list