Skip to content

Commit 068d8ee

Browse files
author
pilkibun
committed
CLN: tweak brittle error string check
1 parent f038c18 commit 068d8ee

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pandas/tests/extension/base/methods.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -323,7 +323,7 @@ def test_repeat(self, data, repeats, as_series, use_numpy):
323323
self.assert_equal(result, expected)
324324

325325
@pytest.mark.parametrize('repeats, kwargs, error, msg', [
326-
(2, dict(axis=1), ValueError, "'axis"),
326+
(2, dict(axis=1), ValueError, "'?axis"),
327327
(-1, dict(), ValueError, "negative"),
328328
([1, 2], dict(), ValueError, "shape"),
329329
(2, dict(foo='bar'), TypeError, "'foo'")])

0 commit comments

Comments
 (0)