Skip to content

Commit 206b739

Browse files
authored
[mypyc] Remove unreachable code (#19667)
See #19050 for context.
1 parent ac646c0 commit 206b739

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

mypyc/test/test_cheader.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@
77
import re
88
import unittest
99

10-
from mypyc.ir.ops import PrimitiveDescription
1110
from mypyc.primitives import registry
1211

1312

@@ -32,8 +31,6 @@ def check_name(name: str) -> None:
3231
registry.function_ops.values(),
3332
]:
3433
for ops in values:
35-
if isinstance(ops, PrimitiveDescription):
36-
ops = [ops]
3734
for op in ops:
3835
if op.c_function_name is not None:
3936
check_name(op.c_function_name)

0 commit comments

Comments
 (0)