From a31f4cc881992e84d351957bd9ac1a92f882fa39 Mon Sep 17 00:00:00 2001 From: Rémi Lapeyre Date: Tue, 12 Feb 2019 01:37:24 +0100 Subject: bpo-35918: Remove broken has_key method and add test (#11819) --- Lib/test/_test_multiprocessing.py | 2 -- 1 file changed, 2 deletions(-) (limited to 'Lib/test/_test_multiprocessing.py') diff --git a/Lib/test/_test_multiprocessing.py b/Lib/test/_test_multiprocessing.py index d93303bb9cc..81db2c98705 100644 --- a/Lib/test/_test_multiprocessing.py +++ b/Lib/test/_test_multiprocessing.py @@ -4897,8 +4897,6 @@ class TestSyncManagerTypes(unittest.TestCase): assert len(obj) == 1 assert obj['foo'] == 5 assert obj.get('foo') == 5 - # TODO: fix https://bugs.python.org/issue35918 - # assert obj.has_key('foo') assert list(obj.items()) == [('foo', 5)] assert list(obj.keys()) == ['foo'] assert list(obj.values()) == [5] -- cgit v1.2.3