summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_mutex.py
diff options
context:
space:
mode:
authorSerhiy Storchaka <storchaka@gmail.com>2012-12-27 22:32:19 (GMT)
committerSerhiy Storchaka <storchaka@gmail.com>2012-12-27 22:32:19 (GMT)
commit8876145fabec7924981f36019f0c2e45f73fbad2 (patch)
treeb1deaa1df7385024bdc3e7093c442421f09411f1 /Lib/test/test_mutex.py
parent270767b2ceb5452d052b280eb1b174d7a32d43f5 (diff)
downloadcpython-8876145fabec7924981f36019f0c2e45f73fbad2.zip
cpython-8876145fabec7924981f36019f0c2e45f73fbad2.tar.gz
cpython-8876145fabec7924981f36019f0c2e45f73fbad2.tar.bz2
Issue #16793. Replace deprecated unittest asserts with modern counterparts.
Diffstat (limited to 'Lib/test/test_mutex.py')
-rw-r--r--Lib/test/test_mutex.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/test_mutex.py b/Lib/test/test_mutex.py
index 2882213..030080e 100644
--- a/Lib/test/test_mutex.py
+++ b/Lib/test/test_mutex.py
@@ -14,7 +14,7 @@ class MutexTest(unittest.TestCase):
m.lock(called_by_mutex2, "eggs")
def called_by_mutex2(some_data):
- self.assertEquals(some_data, "eggs")
+ self.assertEqual(some_data, "eggs")
self.assertTrue(m.test(), "mutex not held")
self.assertTrue(ready_for_2,
"called_by_mutex2 called too soon")