Kaydet (Commit) 624ab7c2 authored tarafından Guido van Rossum's avatar Guido van Rossum

Make test_sgmllib pass on OSX. Hopefully it still passes everywhere else too.

üst 45c85d15
......@@ -366,7 +366,7 @@ DOCTYPE html PUBLIC '-//W3C//DTD HTML 4.01//EN'
# Just verify this code doesn't cause a hang.
CHUNK = 1024 # increasing this to 8212 makes the problem go away
f = open(test_support.findfile('sgml_input.html'))
f = open(test_support.findfile('sgml_input.html'), encoding="latin-1")
fp = sgmllib.SGMLParser()
while 1:
data = f.read(CHUNK)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment