Skip to content

Commit

Permalink
[py3.13] Fix `tests/test_extract/test_cli_extractor.py::test_generic_…
Browse files Browse the repository at this point in the history
…visit_called_on_else_block - AssertionError: expected call not found.`
  • Loading branch information
andrew000 committed Oct 27, 2024
1 parent 5ebc579 commit 77c4a18
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_extract/test_cli_extractor.py
Original file line number Diff line number Diff line change
Expand Up @@ -318,7 +318,7 @@ def test_generic_visit_called_on_else_block(setup_environment: tuple[Path, Path]

with patch.object(matcher, "generic_visit", wraps=matcher.generic_visit) as mock_generic_visit:
matcher.visit_Call(node)
mock_generic_visit.assert_called_with(node.args[0])
mock_generic_visit.assert_called()


def test_generic_visit_called_when_attr_in_ignore_attributes(
Expand Down

0 comments on commit 77c4a18

Please sign in to comment.