Skip to content

Commit 77fbd1f

Browse files
Use a clearer variable name in a test.
1 parent 2f8caf0 commit 77fbd1f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Lib/test/test_interpreters/test_api.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1429,7 +1429,7 @@ def test_callable_requires_frame(self):
14291429
res = interp.call(*call)
14301430
self.assertEqual(res, expected)
14311431

1432-
notshareable = [
1432+
result_not_pickleable = [
14331433
globals,
14341434
locals,
14351435
vars,
@@ -1441,7 +1441,7 @@ def test_callable_requires_frame(self):
14411441
dir: list,
14421442
}.items():
14431443
with self.subTest(str(func)):
1444-
if func in notshareable:
1444+
if func in result_not_pickleable:
14451445
with self.assertRaises(interpreters.NotShareableError):
14461446
interp.call(func)
14471447
else:

0 commit comments

Comments
 (0)