summaryrefslogtreecommitdiffstats
path: root/Lib/unittest
diff options
context:
space:
mode:
authorR David Murray <rdmurray@bitdance.com>2014-06-11 21:09:43 (GMT)
committerR David Murray <rdmurray@bitdance.com>2014-06-11 21:09:43 (GMT)
commit130a566a13975d761049ad197fceeff420b6c662 (patch)
tree75c1058bfb7664298db978b5625076563b19c349 /Lib/unittest
parentdbb7aa5bd1a07c75bb769ce978161863e31232ba (diff)
downloadcpython-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.py2
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):