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

scipy-svn at scipy.org scipy-svn at scipy.org
Tue Mar 6 16:02:58 EST 2007


Author: mattknox_ca
Date: 2007-03-06 15:02:54 -0600 (Tue, 06 Mar 2007)
New Revision: 2828

Modified:
   trunk/Lib/sandbox/timeseries/tests/test_dates.py
Log:
changed one "assert" statement to "assert_equal"

Modified: trunk/Lib/sandbox/timeseries/tests/test_dates.py
===================================================================
--- trunk/Lib/sandbox/timeseries/tests/test_dates.py	2007-03-06 02:10:02 UTC (rev 2827)
+++ trunk/Lib/sandbox/timeseries/tests/test_dates.py	2007-03-06 21:02:54 UTC (rev 2828)
@@ -110,7 +110,7 @@
         print freqs
         for f in freqs:
             today = tdates.thisday(f)
-            assert(tdates.Date(freq=f, value=today.value) == today)
+            assert_equal(tdates.Date(freq=f, value=today.value), today)
             
     def test_shortcuts(self):
         "Tests some creation shortcuts. Because I'm lazy like that."




More information about the Scipy-svn mailing list