summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_compile.py
diff options
context:
space:
mode:
authorMark Shannon <mark@hotpy.org>2022-02-18 17:19:08 (GMT)
committerGitHub <noreply@github.com>2022-02-18 17:19:08 (GMT)
commitcf345e945f48f54785799390c2e92c5310847bd4 (patch)
treeaf28be223953ba50ff6d0c5110af7a8c2a6c4f84 /Lib/test/test_compile.py
parente2c28616ce6c3cdb1013c415125220a0b86b86a1 (diff)
downloadcpython-cf345e945f48f54785799390c2e92c5310847bd4.zip
cpython-cf345e945f48f54785799390c2e92c5310847bd4.tar.gz
cpython-cf345e945f48f54785799390c2e92c5310847bd4.tar.bz2
bpo-46329: Change calling sequence (again) (GH-31373)
* Change calling sequence: Add PUSH_NULL. Merge PRECALL_FUNCTION and PRECALL_METHOD into PRECALL.
Diffstat (limited to 'Lib/test/test_compile.py')
-rw-r--r--Lib/test/test_compile.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/test_compile.py b/Lib/test/test_compile.py
index 7ebe837..2e1cb5a 100644
--- a/Lib/test/test_compile.py
+++ b/Lib/test/test_compile.py
@@ -838,7 +838,7 @@ if 1:
instructions = [opcode.opname for opcode in opcodes]
self.assertNotIn('LOAD_METHOD', instructions)
self.assertIn('LOAD_ATTR', instructions)
- self.assertIn('PRECALL_FUNCTION', instructions)
+ self.assertIn('PRECALL', instructions)
def test_lineno_procedure_call(self):
def call():