Skip to content

Commit

Permalink
TST: Resolve pytest warning about test return
Browse files Browse the repository at this point in the history
  • Loading branch information
mferrera committed Jul 10, 2024
1 parent 592866f commit 3b44a9c
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions tests/test_surface/test_forks.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,4 @@ def test_surface_forks():
)
stdout, stderr = process.communicate()
ret_code = process.wait()
if ret_code:
raise Exception(stderr)
return stdout
assert ret_code == 0, stderr

0 comments on commit 3b44a9c

Please sign in to comment.