Skip to content

Commit

Permalink
TEMP: Error on overriding TestCase.run()
Browse files Browse the repository at this point in the history
  • Loading branch information
xylar committed Dec 19, 2022
1 parent 960d0fc commit 8d72783
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion compass/run/serial.py
Original file line number Diff line number Diff line change
Expand Up @@ -504,7 +504,7 @@ def _test_case_run_deprecated(test_case):
# the run() method has been overridden. We need to give the user a
# deprecation warning.
actual_location = f'{actual_class.__module__}.{actual_class.__name__}'
test_case.logger.warn(
raise ValueError(
f'\nWARNING: Overriding the TestCase.run() method is deprecated.\n'
f' Please move the contents of\n'
f' {actual_location}.run() \n'
Expand Down

0 comments on commit 8d72783

Please sign in to comment.