mirror of
https://github.com/python/cpython.git
synced 2025-08-04 08:59:19 +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
|
@ -559,7 +559,7 @@ class FastCallTests(unittest.TestCase):
|
|||
self.kwargs.clear()
|
||||
gc.collect()
|
||||
return 0
|
||||
x = IntWithDict(dont_inherit=IntWithDict())
|
||||
x = IntWithDict(optimize=IntWithDict())
|
||||
# We test the argument handling of "compile" here, the compilation
|
||||
# itself is not relevant. When we pass flags=x below, x.__index__() is
|
||||
# called, which changes the keywords dict.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue