We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 359ae9a commit 47494a4Copy full SHA for 47494a4
Lib/test/test_struct.py
@@ -810,7 +810,7 @@ def test_endian_table_init_subinterpreters(self):
810
811
code = "import struct"
812
with InterpreterPoolExecutor(max_workers=5) as executor:
813
- results = executor.map(exec(code), [code] * 5)
+ results = executor.map(exec, [code] * 5)
814
self.assertListEqual(list(results), [None] * 5)
815
816
0 commit comments