Ad
  • Default User Avatar

    When running tests on Python 3.4.3 or 2.7.6 I pass the first test, then:

    "Traceback (most recent call last):
    File "main.py", line 23, in
    Test.expect(results1.connected(8,9),True , "Finds Valid Path")
    File "/runner/frameworks/python/cw-2.py", line 22, in expect
    display('FAILED', message)
    File "/runner/frameworks/python/cw-2.py", line 14, in display
    type.upper(), mode.upper(), label, format_message(message)))
    File "/runner/frameworks/python/cw-2.py", line 9, in format_message
    return message.replace("\n", "<:LF:>")
    AttributeError: 'bool' object has no attribute 'replace'"

  • Default User Avatar

    This comment is hidden because it contains spoiler information about the solution