Skip to content

Commit ecf0e4c

Browse files
test: removing unwanted errors="raise" as those are the defaults.
1 parent 992f836 commit ecf0e4c

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

pandas/tests/tools/test_to_datetime.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -819,11 +819,10 @@ def test_to_datetime_iso_week_year_format(self, s, _format, dt):
819819
],
820820
],
821821
)
822-
@pytest.mark.parametrize("errors", ["raise"])
823-
def test_invalid_iso_week_53(self, msg, s, _format, errors):
822+
def test_invalid_iso_week_53(self, msg, s, _format):
824823
# See GH#60885
825824
with pytest.raises(ValueError, match=msg):
826-
to_datetime(s, format=_format, errors=errors)
825+
to_datetime(s, format=_format)
827826

828827
@pytest.mark.parametrize(
829828
"msg, s, _format",

0 commit comments

Comments
 (0)