diff options
Diffstat (limited to 'numpy/lib/tests/test__iotools.py')
-rw-r--r-- | numpy/lib/tests/test__iotools.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/numpy/lib/tests/test__iotools.py b/numpy/lib/tests/test__iotools.py index 63d0ac2ef..421616ccd 100644 --- a/numpy/lib/tests/test__iotools.py +++ b/numpy/lib/tests/test__iotools.py @@ -175,11 +175,11 @@ class TestStringConverter(TestCase): StringConverter.upgrade_mapper(dateparser, date(2000, 1, 1)) convert = StringConverter(dateparser, date(2000, 1, 1)) test = convert(asbytes('2001-01-01')) - assert_equal(test, date(2001, 01, 01)) + assert_equal(test, date(2001, 1, 1)) test = convert(asbytes('2009-01-01')) - assert_equal(test, date(2009, 01, 01)) + assert_equal(test, date(2009, 1, 1)) test = convert(asbytes('')) - assert_equal(test, date(2000, 01, 01)) + assert_equal(test, date(2000, 1, 1)) # def test_string_to_object(self): "Make sure that string-to-object functions are properly recognized" |