Robert Xiao <[email protected]> added the comment:
Yes, it seems that way. Then the question is: why does the comment claim that
it doesn't have a BOM?
Also, test_tokenize.py is wrong around line 651:
def test_utf8_coding_cookie_and_no_utf8_bom(self):
f = 'tokenize_tests-utf8-coding-cookie-and-utf8-bom-sig.txt'
self.assertTrue(self._testFile(f))
It reads the wrong file in this case, judging by the testcase name. (This makes
it a duplicate of the test_utf8_coding_cookie_and_utf8_bom case)
----------
_______________________________________
Python tracker <[email protected]>
<http://bugs.python.org/issue12587>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com