Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitca54589

Browse files
pytest_runtest_makereport is updated (cleanup) (#228)
Local 'rep' is not used.
1 parent939ca6d commitca54589

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
assertoutcomeisnotNone
395395
asserttype(outcome)==pluggy.Result# noqa: E721
396396

397-
rep:pytest.TestReport=outcome.get_result()
398-
assertrepisnotNone
399-
asserttype(rep)==pytest.TestReport# noqa: E721
400-
401397
ifcall.when=="collect":
402398
return
403399

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp