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

Lines changed: 0 additions & 4 deletions
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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy