Skip to content

Commit 9e6e2a7

Browse files
committed
remove test case
1 parent 6e67070 commit 9e6e2a7

File tree

1 file changed

+0
-15
lines changed

1 file changed

+0
-15
lines changed

pandas/tests/indexes/datetimes/test_tools.py

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -467,21 +467,6 @@ def test_datetime_bool(self, cache):
467467
NaT,
468468
to_datetime(0, cache=cache)]))
469469

470-
def test_datetime_require_iso8601(self):
471-
# GH19671
472-
s = Series(['M1809', 'M1701', Timestamp('20130101')])
473-
with pytest.raises(ValueError):
474-
to_datetime(s, require_iso8601=True, errors='raise')
475-
tm.assert_series_equal(
476-
to_datetime(s, require_iso8601=True, errors='ignore'),
477-
Series(['M1809', 'M1701', Timestamp('20130101')]))
478-
tm.assert_series_equal(
479-
to_datetime(s, require_iso8601=True, errors='coerce'),
480-
Series([NaT, NaT, Timestamp('20130101')]))
481-
tm.assert_series_equal(
482-
to_datetime(s, require_iso8601=False, errors='raise'),
483-
Series([Timestamp('18090101'), Timestamp('17010101'),
484-
Timestamp('20130101')]))
485470

486471
def test_datetime_invalid_datatype(self):
487472
# GH13176

0 commit comments

Comments
 (0)