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 402d983 commit 3604031Copy full SHA for 3604031
pandas/tests/series/test_replace.py
@@ -138,9 +138,9 @@ def test_replace_with_empty_list(self):
138
tm.assert_series_equal(result, expected)
139
140
# GH 19266
141
- with tm.assert_raises_regex(ValueError, 'mismatch length'):
+ with tm.assert_raises_regex(NotImplementedError, 'Replace with array'):
142
s.replace({np.nan: []})
143
144
s.replace({np.nan: ['dummy', 'alt']})
145
146
def test_replace_mixed_types(self):
0 commit comments