Skip to content

Commit e4de4c9

Browse files
authored
Fix typos (html5lib#424)
1 parent 4733d5c commit e4de4c9

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

html5lib/tests/support.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,7 @@ def convertData(data):
148148

149149

150150
def errorMessage(input, expected, actual):
151-
msg = ("Input:\n%s\nExpected:\n%s\nRecieved\n%s\n" %
151+
msg = ("Input:\n%s\nExpected:\n%s\nReceived\n%s\n" %
152152
(repr(input), repr(expected), repr(actual)))
153153
if sys.version_info[0] == 2:
154154
msg = msg.encode("ascii", "backslashreplace")

html5lib/tests/test_meta.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,10 +28,10 @@ def test_errorMessage():
2828

2929
# Assertions!
3030
if six.PY2:
31-
assert b"Input:\n1\nExpected:\n2\nRecieved\n3\n" == r
31+
assert b"Input:\n1\nExpected:\n2\nReceived\n3\n" == r
3232
else:
3333
assert six.PY3
34-
assert "Input:\n1\nExpected:\n2\nRecieved\n3\n" == r
34+
assert "Input:\n1\nExpected:\n2\nReceived\n3\n" == r
3535

3636
assert input.__repr__.call_count == 1
3737
assert expected.__repr__.call_count == 1

0 commit comments

Comments
 (0)
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