summaryrefslogtreecommitdiffstats
path: root/Lib/test/support
diff options
context:
space:
mode:
authorIrit Katriel <1055913+iritkatriel@users.noreply.github.com>2023-05-09 13:33:40 (GMT)
committerGitHub <noreply@github.com>2023-05-09 13:33:40 (GMT)
commitca95edf177e3c10e10d7011ed52619b1312cf15e (patch)
tree34c0d8088f6f65b1d8890874391ee008d3f6229e /Lib/test/support
parentc21f82876089f3e9a7b1e706c029664b799fa659 (diff)
downloadcpython-ca95edf177e3c10e10d7011ed52619b1312cf15e.zip
cpython-ca95edf177e3c10e10d7011ed52619b1312cf15e.tar.gz
cpython-ca95edf177e3c10e10d7011ed52619b1312cf15e.tar.bz2
gh-104240: return code unit metadata from codegen (#104300)
Diffstat (limited to 'Lib/test/support')
-rw-r--r--Lib/test/support/bytecode_helper.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/support/bytecode_helper.py b/Lib/test/support/bytecode_helper.py
index 357ec44..7b577f5 100644
--- a/Lib/test/support/bytecode_helper.py
+++ b/Lib/test/support/bytecode_helper.py
@@ -124,7 +124,7 @@ class CompilationStepTestCase(unittest.TestCase):
class CodegenTestCase(CompilationStepTestCase):
def generate_code(self, ast):
- insts = compiler_codegen(ast, "my_file.py", 0)
+ insts, _ = compiler_codegen(ast, "my_file.py", 0)
return insts