Skip to content

Commit 2c7e522

Browse files
committed
ruff: fix assert 1 == 2
1 parent 3edeaa7 commit 2c7e522

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

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 1 == 2
10+
assert False
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 1 == 2
72+
assert False
7373

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

0 commit comments

Comments
 (0)