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
1077e8c7
Commit
1077e8c7
authored
Mar 26, 2016
by
Kevin Modzelewski
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
These tests are passing now
parent
9460cd19
Changes
13
Hide whitespace changes
Inline
Side-by-side
Showing
13 changed files
with
0 additions
and
13 deletions
+0
-13
test/tests/_collections_test.py
test/tests/_collections_test.py
+0
-1
test/tests/array_test.py
test/tests/array_test.py
+0
-1
test/tests/augassign_analysis.py
test/tests/augassign_analysis.py
+0
-1
test/tests/del_name_scoping.py
test/tests/del_name_scoping.py
+0
-1
test/tests/for.py
test/tests/for.py
+0
-1
test/tests/for_iter.py
test/tests/for_iter.py
+0
-1
test/tests/getitem.py
test/tests/getitem.py
+0
-1
test/tests/import_failure_test.py
test/tests/import_failure_test.py
+0
-1
test/tests/sqlite_test.py
test/tests/sqlite_test.py
+0
-1
test/tests/try_class.py
test/tests/try_class.py
+0
-1
test/tests/try_return_finally.py
test/tests/try_return_finally.py
+0
-1
test/tests/tuple_indexing.py
test/tests/tuple_indexing.py
+0
-1
test/tests/type_errors.py
test/tests/type_errors.py
+0
-1
No files found.
test/tests/_collections_test.py
View file @
1077e8c7
# expected: reffail
import
_collections
d
=
_collections
.
deque
()
...
...
test/tests/array_test.py
View file @
1077e8c7
# expected: reffail
import
array
a
=
array
.
array
(
"c"
,
"hello world"
)
print
type
(
a
)
...
...
test/tests/augassign_analysis.py
View file @
1077e8c7
# expected: reffail
# Augassigns are somewhat odd because they encode both a use and a def of a variable.
# So for the sake of determining if a scope sets a variable, they count as a def, but
# for the sake of whether or not a variable is live, they count as a use.
...
...
test/tests/del_name_scoping.py
View file @
1077e8c7
# expected: reffail
x
=
1
def
f
():
if
0
:
...
...
test/tests/for.py
View file @
1077e8c7
# expected: reffail
for
i
in
range
(
10
):
print
i
for
i
in
xrange
(
1
,
15
,
2
):
...
...
test/tests/for_iter.py
View file @
1077e8c7
# expected: reffail
class
C
(
object
):
def
__iter__
(
self
):
print
"orig iter"
...
...
test/tests/getitem.py
View file @
1077e8c7
# expected: reffail
# getitem
def
f
(
l
):
...
...
test/tests/import_failure_test.py
View file @
1077e8c7
# expected: reffail
try
:
import
non_existent_module
assert
0
,
"shouldn't get here"
...
...
test/tests/sqlite_test.py
View file @
1077e8c7
# expected: reffail
import
os
try
:
os
.
unlink
(
'example.db'
)
...
...
test/tests/try_class.py
View file @
1077e8c7
# expected: reffail
# we have one test at global scope, another at local.
# they behave differently in codegen; there have been points at which either was bugged when the other was not.
try
:
...
...
test/tests/try_return_finally.py
View file @
1077e8c7
# expected: reffail
def
f
():
try
:
# Looks like this returns from the function, but it needs to go to the finally block
...
...
test/tests/tuple_indexing.py
View file @
1077e8c7
# expected: reffail
def
f
():
print
(
1
,
2
,
3
)[
-
1
]
f
()
...
...
test/tests/type_errors.py
View file @
1077e8c7
# expected: reffail
# Regression test: make sure that we can handle various kinds of written type errors.
# ex if we can prove that an expression would throw an error due to type issues, we should
# still compile and run the function just fine.
...
...
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