Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Labels
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
nexedi
cython
Commits
8c8a4ee4
Commit
8c8a4ee4
authored
Apr 08, 2012
by
Stefan Behnel
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
test fixes for PyPy
parent
8e4a119b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
tests/run/tp_new.pyx
tests/run/tp_new.pyx
+3
-3
No files found.
tests/run/tp_new.pyx
View file @
8c8a4ee4
...
@@ -69,7 +69,7 @@ def make_new_none(type t=None):
...
@@ -69,7 +69,7 @@ def make_new_none(type t=None):
"""
"""
>>> make_new_none() # doctest: +ELLIPSIS
>>> make_new_none() # doctest: +ELLIPSIS
Traceback (most recent call last):
Traceback (most recent call last):
TypeError: ...
__new__(X): X
is not a type object (NoneType)
TypeError: ... is not a type object (NoneType)
"""
"""
m
=
t
.
__new__
(
t
)
m
=
t
.
__new__
(
t
)
return
m
return
m
...
@@ -122,7 +122,7 @@ def make_new_none_typed(tuple t=None):
...
@@ -122,7 +122,7 @@ def make_new_none_typed(tuple t=None):
"""
"""
>>> make_new_none_typed() # doctest: +ELLIPSIS
>>> make_new_none_typed() # doctest: +ELLIPSIS
Traceback (most recent call last):
Traceback (most recent call last):
TypeError: ...
__new__(X): X
is not a type object (NoneType)
TypeError: ... is not a type object (NoneType)
"""
"""
m
=
t
.
__new__
(
t
)
m
=
t
.
__new__
(
t
)
return
m
return
m
...
@@ -133,7 +133,7 @@ def make_new_untyped(t):
...
@@ -133,7 +133,7 @@ def make_new_untyped(t):
"""
"""
>>> make_new_untyped(None) # doctest: +ELLIPSIS
>>> make_new_untyped(None) # doctest: +ELLIPSIS
Traceback (most recent call last):
Traceback (most recent call last):
TypeError: ...
__new__(X): X
is not a type object (NoneType)
TypeError: ... is not a type object (NoneType)
"""
"""
m
=
t
.
__new__
(
t
)
m
=
t
.
__new__
(
t
)
return
m
return
m
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