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

scipy-svn@scip... scipy-svn@scip...
Mon Mar 26 14:37:16 CDT 2007


Author: mattknox_ca
Date: 2007-03-26 14:37:12 -0500 (Mon, 26 Mar 2007)
New Revision: 2873

Modified:
   trunk/Lib/sandbox/timeseries/tests/test_timeseries.py
Log:
updated test for concatenate_series to use new argument style for multiple series

Modified: trunk/Lib/sandbox/timeseries/tests/test_timeseries.py
===================================================================
--- trunk/Lib/sandbox/timeseries/tests/test_timeseries.py	2007-03-26 19:36:03 UTC (rev 2872)
+++ trunk/Lib/sandbox/timeseries/tests/test_timeseries.py	2007-03-26 19:37:12 UTC (rev 2873)
@@ -540,19 +540,19 @@
         #
         ser_1 = time_series(data, dates)
         ser_2 = time_series(data, dates=dates+10)
-        newseries = concatenate_series([ser_1, ser_2])
+        newseries = concatenate_series(ser_1, ser_2)
         assert_equal(newseries._data,[0,1,2,3,4,0,0,0,0,0,0,1,2,3,4])
         assert_equal(newseries._mask,[1,0,0,0,0]+[1]*5+[1,0,0,0,0])
          #
         ser_1 = time_series(data, dates)
         ser_2 = time_series(data, dates=dates+10)
-        newseries = concatenate_series([ser_1, ser_2], keep_gap=False)
+        newseries = concatenate_series(ser_1, ser_2, keep_gap=False)
         assert_equal(newseries._data,[0,1,2,3,4,0,1,2,3,4])
         assert_equal(newseries._mask,[1,0,0,0,0]+[1,0,0,0,0])
         assert newseries.has_missing_dates()
         #
         ser_2 = time_series(data, dates=dates+3)
-        newseries = concatenate_series([ser_1, ser_2])
+        newseries = concatenate_series(ser_1, ser_2)
         assert_equal(newseries._data,[0,1,2,0,1,2,3,4])
         assert_equal(newseries._mask,[1,0,0,1,0,0,0,0])
         #



More information about the Scipy-svn mailing list