diff options
author | Serhiy Storchaka <storchaka@gmail.com> | 2022-12-04 12:28:56 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-12-04 12:28:56 (GMT) |
commit | 76f43fc09af29401cc0cec7710b03e4dbf8a4578 (patch) | |
tree | 562adc6639c1487f8d1a27fbdecbd78957dc0390 /Lib/test/_test_multiprocessing.py | |
parent | bf26bdf6ac04878fc720e78422991aaedb9808a1 (diff) | |
download | cpython-76f43fc09af29401cc0cec7710b03e4dbf8a4578.zip cpython-76f43fc09af29401cc0cec7710b03e4dbf8a4578.tar.gz cpython-76f43fc09af29401cc0cec7710b03e4dbf8a4578.tar.bz2 |
gh-60203: Always pass True/False as boolean arguments in tests (GH-99983)
Unless we explicitly test non-bool values.
Diffstat (limited to 'Lib/test/_test_multiprocessing.py')
-rw-r--r-- | Lib/test/_test_multiprocessing.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/_test_multiprocessing.py b/Lib/test/_test_multiprocessing.py index a66f4f5..2fa75eb 100644 --- a/Lib/test/_test_multiprocessing.py +++ b/Lib/test/_test_multiprocessing.py @@ -6042,5 +6042,5 @@ class SemLockTests(unittest.TestCase): class SemLock(_multiprocessing.SemLock): pass name = f'test_semlock_subclass-{os.getpid()}' - s = SemLock(1, 0, 10, name, 0) + s = SemLock(1, 0, 10, name, False) _multiprocessing.sem_unlink(name) |