Skip to content

Commit 5ff3450

Browse files
committed
remove issue number comments
1 parent d3abc6b commit 5ff3450

File tree

3 files changed

+0
-4
lines changed

3 files changed

+0
-4
lines changed

Lib/test/test_compile.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -852,7 +852,6 @@ def test_remove_unused_consts_extended_args(self):
852852
eval(compile(code, "file.py", "exec"), g)
853853
exec(code, g)
854854
f = g['f']
855-
# Issue #126072: None is no longer the first element in co_consts
856855
expected = tuple([''] + [f't{i}' for i in range(N)])
857856
self.assertEqual(f.__code__.co_consts, expected)
858857
expected = "".join(expected[1:])
@@ -1245,7 +1244,6 @@ def return_genexp():
12451244
y)
12461245
genexp_lines = [0, 4, 2, 0, 4]
12471246

1248-
# Issue #126072: None is no longer the first element in co_consts
12491247
genexp_code = return_genexp.__code__.co_consts[0]
12501248
code_lines = self.get_code_lines(genexp_code)
12511249
self.assertEqual(genexp_lines, code_lines)

Lib/test/test_compiler_assemble.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,6 @@ def inner():
8484
return x
8585
return inner() % 2
8686

87-
# Issue #126072: None is no longer the first element in co_consts
8887
inner_code = mod_two.__code__.co_consts[0]
8988
assert isinstance(inner_code, types.CodeType)
9089

Lib/test/test_inspect/test_inspect.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5373,7 +5373,6 @@ def test_signature_bind_implicit_arg(self):
53735373
# Issue #19611: getcallargs should work with comprehensions
53745374
def make_set():
53755375
return set(z * z for z in range(5))
5376-
# Issue #126072: first co_consts item is no longer None for functions without docstring
53775376
gencomp_code = make_set.__code__.co_consts[0]
53785377
gencomp_func = types.FunctionType(gencomp_code, {})
53795378

0 commit comments

Comments
 (0)