Skip to content

Commit 8d9c6b5

Browse files
committed
rebase main to resolve conflicts
1 parent 15d741e commit 8d9c6b5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Lib/test/test_compile.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -853,9 +853,9 @@ def test_remove_unused_consts_extended_args(self):
853853
exec(code, g)
854854
f = g['f']
855855
# Issue #126072: None is no longer the first element in co_consts
856-
expected = tuple(['', 1] + [f't{i}' for i in range(N)])
856+
expected = tuple([''] + [f't{i}' for i in range(N)])
857857
self.assertEqual(f.__code__.co_consts, expected)
858-
expected = "".join(expected[2:])
858+
expected = "".join(expected[1:])
859859
self.assertEqual(expected, f())
860860

861861
# Stripping unused constants is not a strict requirement for the

0 commit comments

Comments
 (0)