Wandbox
SettingsLog
SettingsLog
Language
GitHubLogin
Ran/Viewed Log

Author

anonymous

about 7 years ago

Language

Python

Compiler

CPython 3.6.2

Options

Author

anonymous

about 7 years ago

$ python3 prog.py
test_1
test_3
test_5
test_15
test_98
test_fail
Traceback (most recent call last):
  File "prog.py", line 71, in <module>
    testcase()
  File "prog.py", line 45, in test_fail
    assert_equal(True, False)
  File "prog.py", line 48, in assert_equal
    assert actual == expected, "actual: {0}, expected: {1}".format(actual, expected)
AssertionError: actual: True, expected: False

test_assert_equal_success
test_assert_equal_fail
total_tests:  8
fail_tests:  1
success_tests:  7
Exit Code:
0