Skip to content

Commit f674aec

Browse files
committed
fix: fix usage of check_returncode in test_demo_project_nox_session
1 parent 5e40554 commit f674aec

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

tests/integration_tests/test_robust_python_demo.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,7 @@ def test_demo_project_nox_session(robust_demo: Path, session: str) -> None:
2121
capture_output=True,
2222
text=True
2323
)
24-
if result.check_returncode() != 0:
25-
raise SystemExit(result.stdout)
24+
result.check_returncode()
2625

2726

2827
def test_demo_project_nox_pre_commit(robust_demo: Path) -> None:

0 commit comments

Comments
 (0)