Commit b2b748ec authored by Kevin Modzelewski's avatar Kevin Modzelewski Committed by Kevin Modzelewski

Get test_coding.py working

parent 032b0dd7
# -*- coding: uft-8 -*-
# skip-if: True
#coding: utf8
# skip-if: True
print '我'
# expected: fail
import test.test_support, unittest
import os
......
......@@ -47,7 +47,6 @@ test_codecmaps_tw [unknown]
test_codecs [unknown]
test_codeop [unknown]
test_code [unknown]
test_coding works when run from inside the from_cpython dir
test_coercion 1**1L, divmod(1, 1L); some unknown bug
test_compileall Not sure if this test makes sense for us (wants to check the details of pyc files)
test_compiler [unknown]
......
../../from_cpython/Lib/test/bad_coding.py
\ No newline at end of file
../../from_cpython/Lib/test/bad_coding2.py
\ No newline at end of file
......@@ -188,6 +188,8 @@ def get_test_options(fn, check_stats, run_memcheck):
l = l.strip()
if not l:
continue
if l.startswith("\xef\xbb\xbf"): # BOM
l = l[3:]
if not l.startswith("#"):
break
if l.startswith("# statcheck:"):
......
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