Skip to content

Commit c8e0b6e

Browse files
authored
gh-132719: Fix AMD64 FreeBSD14/15 3.x failures - test_rlock_locked_2processes used an unknown Value (GH-132774)
* Fix creation of resvariable
1 parent 01317bb commit c8e0b6e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Lib/test/_test_multiprocessing.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1588,7 +1588,7 @@ def test_rlock_locked_2processes(self):
15881588

15891589
rlock = self.RLock()
15901590
event = self.Event()
1591-
res = Value('b', 0)
1591+
res = self.Value('b', 0)
15921592
# target is the same as for the test_lock_locked_2processes test.
15931593
p = self.Process(target=self._test_lock_locked_2processes,
15941594
args=(rlock, event, res))

0 commit comments

Comments
 (0)