diff --git a/src/flake8_aaa/block.py b/src/flake8_aaa/block.py index b752654..35acdb7 100644 --- a/src/flake8_aaa/block.py +++ b/src/flake8_aaa/block.py @@ -55,15 +55,6 @@ def build_assert(cls: Type[_Block], nodes: List[ast.stmt], min_line_number: int) The filtering is *still* running off the line number of the Act node, when instead it should be using the last line of the Act block. - - TODO: This case needs testing:: - - with mock.patch(thing): - with pytest.raises(ValueError): - do_thing() - print('hi') - - Does the ``print('hi')`` get correctly grabbed by the Act Block? """ return cls(filter_assert_nodes(nodes, min_line_number), LineType.assert_block)