We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c825c6f commit e27c5a5Copy full SHA for e27c5a5
1 file changed
src/pynguin/instrumentation/controlflow.py
@@ -541,12 +541,7 @@ def _split_try_begin_blocks(blocks: ControlFlowGraph) -> None:
541
for block in blocks:
542
for i, instr in enumerate(block):
543
if isinstance(instr, TryBegin):
544
- # We need to handle the next block manually here because there is a
545
- # bug in the bytecode library that does not set the next block correctly
546
- # after splitting a block.
547
- next_block = block.next_block
548
- new_block = blocks.split_block(block, i + 1)
549
- new_block.next_block = next_block
+ blocks.split_block(block, i + 1)
550
551
@staticmethod
552
def _create_nodes_and_edges(
0 commit comments