Skip to content

Commit 9da827c

Browse files
simonjayhawkinsPingviinituutti
authored andcommitted
fix ci failures (pandas-dev#25225)
1 parent a17cb20 commit 9da827c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pandas/tests/series/test_dtypes.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -291,8 +291,8 @@ def test_astype_categorical_to_other(self):
291291
expected = s
292292
tm.assert_series_equal(s.astype('category'), expected)
293293
tm.assert_series_equal(s.astype(CategoricalDtype()), expected)
294-
msg = (r"could not convert string to float: '(0 - 499|9500 - 9999)'|"
295-
r"invalid literal for float\(\): (0 - 499|9500 - 9999)")
294+
msg = (r"could not convert string to float|"
295+
r"invalid literal for float\(\)")
296296
with pytest.raises(ValueError, match=msg):
297297
s.astype('float64')
298298

0 commit comments

Comments
 (0)