Skip to content

Commit 359ae9a

Browse files
committed
Fix executor.map usage in test_struct
1 parent 1408896 commit 359ae9a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Lib/test/test_struct.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -810,7 +810,7 @@ def test_endian_table_init_subinterpreters(self):
810810

811811
code = "import struct"
812812
with InterpreterPoolExecutor(max_workers=5) as executor:
813-
results = executor.map(exec(code_str), [code] * 5)
813+
results = executor.map(exec(code), [code] * 5)
814814
self.assertListEqual(list(results), [None] * 5)
815815

816816

0 commit comments

Comments
 (0)