gh-60203: Always pass True/False as boolean arguments in tests (GH-99983)

Unless we explicitly test non-bool values.
(cherry picked from commit 76f43fc09a)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
This commit is contained in:
Miss Islington (bot) 2022-12-04 04:50:46 -08:00 committed by GitHub
parent 9e38553132
commit 7aa87bba05
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 9 additions and 8 deletions

View file

@ -6044,5 +6044,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)