Skip to content

Commit

Permalink
Fix calling stopTestRun directly at start (#241)
Browse files Browse the repository at this point in the history
The removed code block caused `stopTestRun()` callback being executed
directly after starting a test run.
  • Loading branch information
deathaxe authored Mar 23, 2024
1 parent 8870b2c commit 6b839a0
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions unittesting/core/py38/runner.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,10 +54,6 @@ def _start_testing():
_continue_testing(deferred)
except Exception as e:
_handle_error(e)
finally:
stopTestRun = getattr(result, 'stopTestRun', None)
if stopTestRun is not None:
stopTestRun()

def _continue_testing(deferred, send_value=None, throw_value=None):
try:
Expand Down

0 comments on commit 6b839a0

Please sign in to comment.