aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
-rw-r--r--Lib/test/_test_multiprocessing.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/_test_multiprocessing.py b/Lib/test/_test_multiprocessing.py
index be6efc49e94..58d8a5eae8a 100644
--- a/Lib/test/_test_multiprocessing.py
+++ b/Lib/test/_test_multiprocessing.py
@@ -1588,7 +1588,7 @@ class _TestLock(BaseTestCase):
rlock = self.RLock()
event = self.Event()
- res = Value('b', 0)
+ res = self.Value('b', 0)
# target is the same as for the test_lock_locked_2processes test.
p = self.Process(target=self._test_lock_locked_2processes,
args=(rlock, event, res))