Skip to content

Commit ca54589

Browse files
pytest_runtest_makereport is updated (cleanup) (#228)
Local 'rep' is not used.
1 parent 939ca6d commit ca54589

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

tests/conftest.py

-4
Original file line numberDiff line numberDiff line change
@@ -394,10 +394,6 @@ def pytest_runtest_makereport(item: pytest.Function, call: pytest.CallInfo):
394394
assert outcome is not None
395395
assert type(outcome) == pluggy.Result # noqa: E721
396396

397-
rep: pytest.TestReport = outcome.get_result()
398-
assert rep is not None
399-
assert type(rep) == pytest.TestReport # noqa: E721
400-
401397
if call.when == "collect":
402398
return
403399

0 commit comments

Comments
 (0)