You can not select more than 25 topics
Topics must start with a chinese character,a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
- # Disable ruff linter for template files
- # ruff: noqa: F821 E722
- import sys
-
-
- __TEST__
-
-
- def run_tests(candidate):
- try:
- check(candidate)
- # We can search for this string in the output
- print("ALL TESTS PASSED !#!#")
- except AssertionError:
- sys.exit("SOME TESTS FAILED - TRY AGAIN !#!#")
|