We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d74901b commit 14f22caCopy full SHA for 14f22ca
pandas/tests/indexes/datetimes/test_tools.py
@@ -1323,8 +1323,7 @@ def test_string_na_nat_conversion(self, cache):
1323
malformed = np.array(['1/100/2000', np.nan], dtype=object)
1324
1325
# GH 10636, default is now 'raise'
1326
- msg = (r"\(u?'Unknown string format:', '1/100/2000'\)|"
1327
- "day is out of range for month")
+ msg = (r"Unknown string format:|day is out of range for month")
1328
with pytest.raises(ValueError, match=msg):
1329
to_datetime(malformed, errors='raise', cache=cache)
1330
0 commit comments