We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a2acd1b commit 5fadbe4Copy full SHA for 5fadbe4
pandas/tests/dtypes/cast/test_upcast.py
@@ -12,7 +12,7 @@ def test_upcast_error(result):
12
# GH23823 require result arg to be ndarray
13
mask = np.array([False, True, False])
14
other = np.array([61, 62, 63])
15
- with pytest.raises(ValueError):
+ with pytest.raises(ValueError, match="The result input must be a ndarray"):
16
result, _ = maybe_upcast_putmask(result, mask, other)
17
18
0 commit comments