diff --git a/src/pynguin/instrumentation/instrumentation.py b/src/pynguin/instrumentation/instrumentation.py index 016515ae..2f4e3da3 100644 --- a/src/pynguin/instrumentation/instrumentation.py +++ b/src/pynguin/instrumentation/instrumentation.py @@ -485,8 +485,8 @@ def _instrument_bool_based_conditional_jump( ArtificialInstr("DUP_TOP", lineno=lineno), ArtificialInstr( "LOAD_CONST", - self._instrumentation_tracer, - lineno=lineno, # type: ignore[arg-type] + self._instrumentation_tracer, # type: ignore[arg-type] + lineno=lineno, ), ArtificialInstr( "LOAD_METHOD", @@ -565,8 +565,8 @@ def _instrument_compare_based_conditional_jump( ArtificialInstr("DUP_TOP_TWO", lineno=lineno), ArtificialInstr( "LOAD_CONST", - self._instrumentation_tracer, - lineno=lineno, # type: ignore[arg-type] + self._instrumentation_tracer, # type: ignore[arg-type] + lineno=lineno, ), ArtificialInstr( "LOAD_METHOD", @@ -615,8 +615,8 @@ def _instrument_exception_based_conditional_jump( ArtificialInstr("DUP_TOP_TWO", lineno=lineno), ArtificialInstr( "LOAD_CONST", - self._instrumentation_tracer, - lineno=lineno, # type: ignore[arg-type] + self._instrumentation_tracer, # type: ignore[arg-type] + lineno=lineno, ), ArtificialInstr( "LOAD_METHOD", @@ -651,8 +651,8 @@ def visit_entry_node(self, basic_block: BasicBlock, code_object_id: int) -> None basic_block[0:0] = [ ArtificialInstr( "LOAD_CONST", - self._instrumentation_tracer, - lineno=lineno, # type: ignore[arg-type] + self._instrumentation_tracer, # type: ignore[arg-type] + lineno=lineno, ), ArtificialInstr( "LOAD_METHOD", @@ -728,8 +728,8 @@ def _instrument_for_loop( entered.extend([ ArtificialInstr( "LOAD_CONST", - self._instrumentation_tracer, - lineno=lineno, # type: ignore[arg-type] + self._instrumentation_tracer, # type: ignore[arg-type] + lineno=lineno, ), ArtificialInstr( "LOAD_METHOD", @@ -752,8 +752,8 @@ def _instrument_for_loop( not_entered.extend([ ArtificialInstr( "LOAD_CONST", - self._instrumentation_tracer, - lineno=lineno, # type: ignore[arg-type] + self._instrumentation_tracer, # type: ignore[arg-type] + lineno=lineno, ), ArtificialInstr( "LOAD_METHOD", @@ -834,8 +834,8 @@ def instrument_line( inserted_instructions = [ ArtificialInstr( "LOAD_CONST", - self._instrumentation_tracer, - lineno=lineno, # type: ignore[arg-type] + self._instrumentation_tracer, # type: ignore[arg-type] + lineno=lineno, ), ArtificialInstr( "LOAD_METHOD",