Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
P
Pyston
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Boxiang Sun
Pyston
Commits
b2b748ec
Commit
b2b748ec
authored
Sep 11, 2016
by
Kevin Modzelewski
Committed by
Kevin Modzelewski
Sep 12, 2016
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Get test_coding.py working
parent
032b0dd7
Changes
7
Show whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
6 additions
and
3 deletions
+6
-3
from_cpython/Lib/test/bad_coding.py
from_cpython/Lib/test/bad_coding.py
+1
-0
from_cpython/Lib/test/bad_coding2.py
from_cpython/Lib/test/bad_coding2.py
+1
-0
from_cpython/Lib/test/test_coding.py
from_cpython/Lib/test/test_coding.py
+0
-2
test/CPYTHON_TEST_NOTES.md
test/CPYTHON_TEST_NOTES.md
+0
-1
test/cpython/bad_coding.py
test/cpython/bad_coding.py
+1
-0
test/cpython/bad_coding2.py
test/cpython/bad_coding2.py
+1
-0
tools/tester.py
tools/tester.py
+2
-0
No files found.
from_cpython/Lib/test/bad_coding.py
View file @
b2b748ec
# -*- coding: uft-8 -*-
# skip-if: True
from_cpython/Lib/test/bad_coding2.py
View file @
b2b748ec
#coding: utf8
# skip-if: True
print
'我'
from_cpython/Lib/test/test_coding.py
View file @
b2b748ec
# expected: fail
import
test.test_support
,
unittest
import
os
...
...
test/CPYTHON_TEST_NOTES.md
View file @
b2b748ec
...
...
@@ -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]
...
...
test/cpython/bad_coding.py
0 → 120000
View file @
b2b748ec
..
/
..
/
from_cpython
/
Lib
/
test
/
bad_coding
.
py
\ No newline at end of file
test/cpython/bad_coding2.py
0 → 120000
View file @
b2b748ec
..
/
..
/
from_cpython
/
Lib
/
test
/
bad_coding2
.
py
\ No newline at end of file
tools/tester.py
View file @
b2b748ec
...
...
@@ -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:"
):
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment