mirror of
https://github.com/python/cpython.git
synced 2025-08-31 05:58:33 +00:00
gh-60203: Always pass True/False as boolean arguments in tests (GH-99983)
Unless we explicitly test non-bool values.
This commit is contained in:
parent
bf26bdf6ac
commit
76f43fc09a
5 changed files with 9 additions and 8 deletions
|
@ -3209,7 +3209,7 @@ class POSIXProcessTestCase(BaseTestCase):
|
|||
1, 2, 3, 4,
|
||||
True, True, 0,
|
||||
None, None, None, -1,
|
||||
None, "no vfork")
|
||||
None, True)
|
||||
self.assertIn('fds_to_keep', str(c.exception))
|
||||
finally:
|
||||
if not gc_enabled:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue