aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/Lib/test/test_call.py
diff options
context:
space:
mode:
authorSerhiy Storchaka <storchaka@gmail.com>2022-12-04 14:28:56 +0200
committerGitHub <noreply@github.com>2022-12-04 14:28:56 +0200
commit76f43fc09af29401cc0cec7710b03e4dbf8a4578 (patch)
tree562adc6639c1487f8d1a27fbdecbd78957dc0390 /Lib/test/test_call.py
parentbf26bdf6ac04878fc720e78422991aaedb9808a1 (diff)
downloadcpython-76f43fc09af29401cc0cec7710b03e4dbf8a4578.tar.gz
cpython-76f43fc09af29401cc0cec7710b03e4dbf8a4578.zip
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_call.py')
-rw-r--r--Lib/test/test_call.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/test_call.py b/Lib/test/test_call.py
index f148b5ebbc5..c17528be97b 100644
--- a/Lib/test/test_call.py
+++ b/Lib/test/test_call.py
@@ -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.