[Scipy-svn] r2793 - trunk/Lib/sandbox/timeseries/tests

scipy-svn@scip... scipy-svn@scip...
Wed Feb 28 15:49:59 CST 2007


Author: mattknox_ca
Date: 2007-02-28 15:49:56 -0600 (Wed, 28 Feb 2007)
New Revision: 2793

Modified:
   trunk/Lib/sandbox/timeseries/tests/test_dates.py
Log:
updated to reflect recent changes to tdates.py

Modified: trunk/Lib/sandbox/timeseries/tests/test_dates.py
===================================================================
--- trunk/Lib/sandbox/timeseries/tests/test_dates.py	2007-02-28 21:47:22 UTC (rev 2792)
+++ trunk/Lib/sandbox/timeseries/tests/test_dates.py	2007-02-28 21:49:56 UTC (rev 2793)
@@ -26,11 +26,8 @@
 from maskedarray.testutils import assert_equal, assert_array_equal
 
 import timeseries.tdates as tdates
-#from timeseries import tdates
-#from timeseries.tdates import date_array_fromlist, Date, DateArray, date_array,\
-#    mxDFromString, today
 from timeseries.tdates import *
-from timeseries.tdates import mxDFromString
+from timeseries.parser import DateFromString
 from timeseries import tcore
 
 
@@ -103,7 +100,7 @@
         dobj = [datetime.datetime.fromordinal(d) for d in dates.toordinal()]
         odates = date_array_fromlist(dobj)
         assert_equal(dates,odates)
-        dobj = [mxDFromString(d) for d in dlist]
+        dobj = [DateFromString(d) for d in dlist]
         odates = date_array_fromlist(dobj)
         assert_equal(dates,odates)
 



More information about the Scipy-svn mailing list