summaryrefslogtreecommitdiffstats
path: root/Lib
diff options
context:
space:
mode:
authorBrandt Bucher <brandt@python.org>2022-02-01 21:41:32 (GMT)
committerGitHub <noreply@github.com>2022-02-01 21:41:32 (GMT)
commita0e55a571cf01885fd5826266c37abaee307c309 (patch)
tree9a2f3dd9874c7036af445dbf0068e9824f0265b9 /Lib
parentbebaa95fd0f44babf8b6bcffd8f2908c73ca259e (diff)
downloadcpython-a0e55a571cf01885fd5826266c37abaee307c309.zip
cpython-a0e55a571cf01885fd5826266c37abaee307c309.tar.gz
cpython-a0e55a571cf01885fd5826266c37abaee307c309.tar.bz2
bpo-46528: Simplify BUILD_TUPLE/UNPACK_SEQUENCE folding (GH-31039)
Diffstat (limited to 'Lib')
-rw-r--r--Lib/test/test_peepholer.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/test_peepholer.py b/Lib/test/test_peepholer.py
index 659f654..2df5883 100644
--- a/Lib/test/test_peepholer.py
+++ b/Lib/test/test_peepholer.py
@@ -126,7 +126,7 @@ class TestTranforms(BytecodeTestCase):
code = compile(line,'','single')
self.assertInBytecode(code, elem)
self.assertNotInBytecode(code, 'BUILD_TUPLE')
- self.assertNotInBytecode(code, 'UNPACK_TUPLE')
+ self.assertNotInBytecode(code, 'UNPACK_SEQUENCE')
self.check_lnotab(code)
def test_folding_of_tuples_of_constants(self):