Skip to content

Commit 0b05fa1

Browse files
committed
[mypyc] Remove unreachable code
See #19050 for context.
1 parent ac646c0 commit 0b05fa1

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

mypyc/test/test_cheader.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,6 @@ def check_name(name: str) -> None:
3232
registry.function_ops.values(),
3333
]:
3434
for ops in values:
35-
if isinstance(ops, PrimitiveDescription):
36-
ops = [ops]
3735
for op in ops:
3836
if op.c_function_name is not None:
3937
check_name(op.c_function_name)

0 commit comments

Comments
 (0)