https://github.com/python/cpython/commit/c8e0b6e6849fc3d93c33050b43fe866391625157
commit: c8e0b6e6849fc3d93c33050b43fe866391625157
branch: main
author: Duprat <ydup...@gmail.com>
committer: gpshead <g...@krypto.org>
date: 2025-04-21T13:59:15-07:00
summary:

gh-132719: Fix AMD64 FreeBSD14/15 3.x failures - `test_rlock_locked_2processes` 
used an unknown `Value` (GH-132774)

* Fix creation of resvariable

files:
M Lib/test/_test_multiprocessing.py

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))

_______________________________________________
Python-checkins mailing list -- python-checkins@python.org
To unsubscribe send an email to python-checkins-le...@python.org
https://mail.python.org/mailman3/lists/python-checkins.python.org/
Member address: arch...@mail-archive.com

Reply via email to