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

* Fix creation of resvariable
This commit is contained in:
Duprat 2025-04-21 22:59:15 +02:00 committed by GitHub
parent 01317bb449
commit c8e0b6e684
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

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