diff --git a/html5lib/tests/support.py b/html5lib/tests/support.py index dab65c1c..eacf00da 100644 --- a/html5lib/tests/support.py +++ b/html5lib/tests/support.py @@ -147,7 +147,7 @@ def convertData(data): def errorMessage(input, expected, actual): - msg = ("Input:\n%s\nExpected:\n%s\nRecieved\n%s\n" % + msg = ("Input:\n%s\nExpected:\n%s\nReceived\n%s\n" % (repr(input), repr(expected), repr(actual))) if sys.version_info[0] == 2: msg = msg.encode("ascii", "backslashreplace") diff --git a/html5lib/tests/test_meta.py b/html5lib/tests/test_meta.py index e42eafdb..dd02dd7f 100644 --- a/html5lib/tests/test_meta.py +++ b/html5lib/tests/test_meta.py @@ -28,10 +28,10 @@ def test_errorMessage(): # Assertions! if six.PY2: - assert b"Input:\n1\nExpected:\n2\nRecieved\n3\n" == r + assert b"Input:\n1\nExpected:\n2\nReceived\n3\n" == r else: assert six.PY3 - assert "Input:\n1\nExpected:\n2\nRecieved\n3\n" == r + assert "Input:\n1\nExpected:\n2\nReceived\n3\n" == r assert input.__repr__.call_count == 1 assert expected.__repr__.call_count == 1 pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy