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
9f45f86f
Commit
9f45f86f
authored
Jul 28, 2015
by
Dong-hee,Na
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
set test
parent
9d55ac9e
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
0 deletions
+10
-0
test/tests/set-hashable.py
test/tests/set-hashable.py
+4
-0
test/tests/set-recursion.py
test/tests/set-recursion.py
+6
-0
No files found.
test/tests/set-hashable.py
0 → 100644
View file @
9f45f86f
# should_error
set1
=
set
([
1
,
2
,
3
,
4
])
set2
=
set
([
5
,
6
,
7
])
set1
.
add
(
set2
)
test/tests/set-recursion.py
0 → 100644
View file @
9f45f86f
class
C
(
object
):
def
__init__
(
self
):
self
.
t
=
set
([
self
])
def
__repr__
(
self
):
return
repr
(
self
.
t
)
print
repr
(
C
())
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