Skip to content

Commit 650dc6b

Browse files
committed
ruff: add noqa for assert False
1 parent 2c7e522 commit 650dc6b

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

tests/test_handler_errors.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77

88
def test_check_assertions_raises_handler_assertions(httpserver: HTTPServer):
99
def handler(_):
10-
assert False
10+
assert False # noqa: PT015
1111

1212
httpserver.expect_request("/foobar").respond_with_handler(handler)
1313

@@ -69,7 +69,7 @@ def test_missing_matcher_raises_exception(httpserver):
6969

7070
def test_check_raises_errors_in_order(httpserver):
7171
def handler1(_):
72-
assert False
72+
assert False # noqa: PT015
7373

7474
def handler2(_):
7575
pass # does nothing

0 commit comments

Comments
 (0)