diff --git a/Lib/test/_test_multiprocessing.py b/Lib/test/_test_multiprocessing.py index be6efc49e9489e..58d8a5eae8a2ce 100644 --- a/Lib/test/_test_multiprocessing.py +++ b/Lib/test/_test_multiprocessing.py @@ -1588,7 +1588,7 @@ def test_rlock_locked_2processes(self): 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))