From: Duprat Date: Mon, 21 Apr 2025 20:59:15 +0000 (+0200) Subject: gh-132719: Fix AMD64 FreeBSD14/15 3.x failures - `test_rlock_locked_2processes` used... X-Git-Tag: v3.14.0b1~372 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c8e0b6e6849fc3d93c33050b43fe866391625157;p=thirdparty%2FPython%2Fcpython.git gh-132719: Fix AMD64 FreeBSD14/15 3.x failures - `test_rlock_locked_2processes` used an unknown `Value` (GH-132774) * Fix creation of resvariable --- diff --git a/Lib/test/_test_multiprocessing.py b/Lib/test/_test_multiprocessing.py index be6efc49e948..58d8a5eae8a2 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))