Skip to content

Commit 560d66e

Browse files
committed
test/pybind: Test method has been renamed in unittest 3.2
Signed-off-by: Paulo E. Castro <[email protected]>
1 parent aec8ca8 commit 560d66e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/test/pybind/test_ceph_argparse.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -217,7 +217,7 @@ def test_debug(self):
217217
def test_pg_missing_args_output(self):
218218
ret, _, stderr = self._capture_output(['pg'], stderr=True)
219219
self.assertEqual({}, ret)
220-
self.assertRegexpMatches(stderr, re.compile('no valid command found.* closest matches'))
220+
self.assertRegex(stderr, re.compile('no valid command found.* closest matches'))
221221

222222
def test_pg_wrong_arg_output(self):
223223
ret, _, stderr = self._capture_output(['pg', 'map', 'bad-pgid'],

0 commit comments

Comments
 (0)