diff options
Diffstat (limited to 'numpy/lib/tests/test__iotools.py')
-rw-r--r-- | numpy/lib/tests/test__iotools.py | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/numpy/lib/tests/test__iotools.py b/numpy/lib/tests/test__iotools.py index 990ee126d..b25b42f8c 100644 --- a/numpy/lib/tests/test__iotools.py +++ b/numpy/lib/tests/test__iotools.py @@ -133,8 +133,6 @@ class TestNameValidator(object): def _bytes_to_date(s): - if type(s) == bytes: - s = s.decode("latin1") return date(*time.strptime(s, "%Y-%m-%d")[:3]) |