Skip to content

Commit 4e26f3a

Browse files
committed
Merge branch 'detects-print-as-debug-statement' of github.com:AadityaSubedi/pre-commit-hooks into detects-print-as-debug-statement
2 parents 51e0c84 + 4c651f9 commit 4e26f3a

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

tests/debug_statement_hook_test.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,9 +30,9 @@ def test_finds_breakpoint():
3030
visitor = DebugStatementParser()
3131
visitor.visit(ast.parse('breakpoint()'))
3232
assert visitor.breakpoints == [Debug(1, 0, 'breakpoint', 'called')]
33-
34-
35-
def test_finds_print():
33+
34+
35+
def test_finds_print():
3636
visitor = DebugStatementParser()
3737
visitor.visit(ast.parse('print()'))
3838
assert visitor.breakpoints == [Debug(1, 0, 'print', 'called')]

0 commit comments

Comments
 (0)