Skip to content

Commit

Permalink
fix ci failures (#25225)
Browse files Browse the repository at this point in the history
  • Loading branch information
simonjayhawkins authored and jreback committed Feb 8, 2019
1 parent 0eddba8 commit 1d1b14c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pandas/tests/series/test_dtypes.py
Original file line number Diff line number Diff line change
Expand Up @@ -291,8 +291,8 @@ def test_astype_categorical_to_other(self):
expected = s
tm.assert_series_equal(s.astype('category'), expected)
tm.assert_series_equal(s.astype(CategoricalDtype()), expected)
msg = (r"could not convert string to float: '(0 - 499|9500 - 9999)'|"
r"invalid literal for float\(\): (0 - 499|9500 - 9999)")
msg = (r"could not convert string to float|"
r"invalid literal for float\(\)")
with pytest.raises(ValueError, match=msg):
s.astype('float64')

Expand Down

0 comments on commit 1d1b14c

Please sign in to comment.