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
76e73330
Commit
76e73330
authored
Mar 29, 2016
by
Kevin Modzelewski
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
These are working now
parent
092351e9
Changes
7
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
0 additions
and
7 deletions
+0
-7
test/tests/compile_future2.py
test/tests/compile_future2.py
+0
-1
test/tests/eval_test.py
test/tests/eval_test.py
+0
-1
test/tests/exec_basic.py
test/tests/exec_basic.py
+0
-1
test/tests/exec_future_import.py
test/tests/exec_future_import.py
+0
-1
test/tests/exec_future_import2.py
test/tests/exec_future_import2.py
+0
-1
test/tests/global_and_local.py
test/tests/global_and_local.py
+0
-1
test/tests/name_forcing_syntax_error.py
test/tests/name_forcing_syntax_error.py
+0
-1
No files found.
test/tests/compile_future2.py
View file @
76e73330
# expected: reffail
# co is compiled without the __future__ division import.
# So even though the import is present in the exec statements,
# the code will be evaluated without it. Each should print 0.
...
...
test/tests/eval_test.py
View file @
76e73330
# expected: reffail
print
eval
(
"3 + 4"
)
a
=
5
...
...
test/tests/exec_basic.py
View file @
76e73330
# expected: reffail
exec
"""print 'hi'
a = 5
print a"""
...
...
test/tests/exec_future_import.py
View file @
76e73330
# expected: reffail
print
1
/
2
exec
"""
...
...
test/tests/exec_future_import2.py
View file @
76e73330
# expected: reffail
from
__future__
import
division
print
1
/
2
...
...
test/tests/global_and_local.py
View file @
76e73330
# expected: reffail
# I would have expected this to be valid, but cPython and pypy err out saying "name 'x' is local and global"
try
:
...
...
test/tests/name_forcing_syntax_error.py
View file @
76e73330
# expected: reffail
# We could just have a file for each, but if we Do these in execs,
# we don't need separate files for each, and that makes it easier
# to just spam all the permutations.
...
...
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