diff options
author | R David Murray <rdmurray@bitdance.com> | 2014-06-11 21:09:43 (GMT) |
---|---|---|
committer | R David Murray <rdmurray@bitdance.com> | 2014-06-11 21:09:43 (GMT) |
commit | 130a566a13975d761049ad197fceeff420b6c662 (patch) | |
tree | 75c1058bfb7664298db978b5625076563b19c349 /Lib/unittest | |
parent | dbb7aa5bd1a07c75bb769ce978161863e31232ba (diff) | |
download | cpython-130a566a13975d761049ad197fceeff420b6c662.zip cpython-130a566a13975d761049ad197fceeff420b6c662.tar.gz cpython-130a566a13975d761049ad197fceeff420b6c662.tar.bz2 |
Suppress a couple more DeprecationWarnings in the test suite.
Diffstat (limited to 'Lib/unittest')
-rw-r--r-- | Lib/unittest/test/testmock/testmock.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/unittest/test/testmock/testmock.py b/Lib/unittest/test/testmock/testmock.py index 7019ee9..a549973 100644 --- a/Lib/unittest/test/testmock/testmock.py +++ b/Lib/unittest/test/testmock/testmock.py @@ -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): |