mirror of
https://github.com/python/cpython.git
synced 2025-07-24 03:35:53 +00:00
Suppress a couple more DeprecationWarnings in the test suite.
This commit is contained in:
parent
dbb7aa5bd1
commit
130a566a13
2 changed files with 3 additions and 2 deletions
|
@ -1211,7 +1211,7 @@ class MockTest(unittest.TestCase):
|
|||
m = Mock()
|
||||
m.hello(name='hello', daddy='hero')
|
||||
text = "call(daddy='hero', name='hello')"
|
||||
self.assertEquals(repr(m.hello.call_args), text)
|
||||
self.assertEqual(repr(m.hello.call_args), text)
|
||||
|
||||
def test_mock_add_spec(self):
|
||||
class _One(object):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue