We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0626c0e commit 9f9f61eCopy full SHA for 9f9f61e
1 file changed
tests/test_cfg.py
@@ -63,6 +63,11 @@ def test_iter_invalid_types(self):
63
block.extend([Label()])
64
with self.assertRaises(ValueError):
65
block.insert(0, Label())
66
+ block.append(Instr("NOP"))
67
+ with self.assertRaises(ValueError):
68
+ block[0] = Label()
69
70
+ block[:] = [Label()]
71
72
# Only one jump allowed and only at the end
73
block = BasicBlock()
0 commit comments