Skip to content

Commit 7c577ea

Browse files
committed
Fix merge oversight
1 parent accab28 commit 7c577ea

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pandas/tests/series/test_combine_concat.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -170,7 +170,7 @@ def test_update_raise(self):
170170
s = Series([0, 1, 2, np.nan, np.nan, 5, 6, np.nan])
171171
other = Series([1, 3, np.nan, 7, 9], index=[1, 3, 5, 7, 9])
172172

173-
with tm.assert_raises_regex(ValueError, "Data overlaps"):
173+
with pytest.raises(ValueError, match="Data overlaps"):
174174
s.update(other, errors='raise')
175175

176176
def test_concat_empty_series_dtypes_roundtrips(self):

0 commit comments

Comments
 (0)