File tree Expand file tree Collapse file tree 2 files changed +3
-6
lines changed Expand file tree Collapse file tree 2 files changed +3
-6
lines changed Original file line number Diff line number Diff line change 162162from mypyc .primitives .misc_ops import (
163163 bool_op ,
164164 buf_init_item ,
165+ debug_print_op ,
165166 fast_isinstance_op ,
166167 none_object_op ,
167168 not_implemented_op ,
168169 var_object_size ,
169- debug_print_op ,
170170)
171171from mypyc .primitives .registry import (
172172 ERR_NEG_INT ,
Original file line number Diff line number Diff line change 77from mypyc .irbuild .ll_builder import LowLevelIRBuilder
88from mypyc .options import CompilerOptions
99
10+
1011class TestMisc (unittest .TestCase ):
1112 def test_debug_op (self ) -> None :
1213 block = BasicBlock ()
@@ -16,8 +17,4 @@ def test_debug_op(self) -> None:
1617
1718 names = generate_names_for_ir ([], [block ])
1819 code = format_blocks ([block ], names , {})
19- assert code [:- 1 ] == [
20- "L0:" ,
21- " r0 = 'foo'" ,
22- ' CPyDebug_PrintObject(r0)' ,
23- ]
20+ assert code [:- 1 ] == ["L0:" , " r0 = 'foo'" , " CPyDebug_PrintObject(r0)" ]
You can’t perform that action at this time.
0 commit comments