Skip to content

Commit 087a135

Browse files
committed
fixed typo
1 parent 8558e5e commit 087a135

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Lib/test/test_builtin.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1121,7 +1121,7 @@ def func(a, *args, **kwargs):
11211121
for executor in eval, exec:
11221122
with self.subTest(executor=executor.__name__):
11231123
ns = {'a': 1, 'args': [2], 'kwargs': {'a': 4}}
1124-
executor(func, {}, ns, sync_fast_locals=True)
1124+
executor(func.__code__, {}, ns, sync_fast_locals=True)
11251125
self.assertEqual(ns, {'b': 2, 'args': [2, 3], 'kwargs': {'a': 4, 'b': 5}})
11261126

11271127
def test_filter(self):

0 commit comments

Comments
 (0)