From c8e0b6e6849fc3d93c33050b43fe866391625157 Mon Sep 17 00:00:00 2001 From: Duprat Date: Mon, 21 Apr 2025 22:59:15 +0200 Subject: [PATCH] gh-132719: Fix AMD64 FreeBSD14/15 3.x failures - `test_rlock_locked_2processes` used an unknown `Value` (GH-132774) * Fix creation of resvariable --- Lib/test/_test_multiprocessing.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)) -- 2.47.3