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
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cython
Commits
f375c87a
Commit
f375c87a
authored
Dec 27, 2018
by
Stefan Behnel
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Work around some PyPy test issues.
parent
d7cd245f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
9 deletions
+8
-9
tests/run/c_int_types_T255.pyx
tests/run/c_int_types_T255.pyx
+8
-9
No files found.
tests/run/c_int_types_T255.pyx
View file @
f375c87a
...
...
@@ -685,14 +685,13 @@ class MyBadInt2(MyInt2):
def
test_convert_pyint
(
x
):
u"""
>>> test_convert_pyint(None)
>>> test_convert_pyint(None)
# doctest: +ELLIPSIS
Traceback (most recent call last):
...
TypeError: an integer is required
>>> test_convert_pyint("123")
TypeError:... int...
>>> test_convert_pyint("123") # doctest: +ELLIPSIS
Traceback (most recent call last):
...
TypeError:
an integer is required
TypeError:
... int...
>>> test_convert_pyint(MyBadInt(0)) #doctest: +ELLIPSIS
Traceback (most recent call last):
...
...
...
@@ -733,14 +732,14 @@ class MyBadLong(MyLong):
def
test_convert_pylong
(
x
):
u"""
>>> test_convert_pylong(None)
>>> test_convert_pylong(None)
# doctest: +ELLIPSIS
Traceback (most recent call last):
...
TypeError:
an integer is required
>>> test_convert_pylong("123")
TypeError:
... int...
>>> test_convert_pylong("123")
# doctest: +ELLIPSIS
Traceback (most recent call last):
...
TypeError:
an integer is required
TypeError:
... int...
>>> test_convert_pylong(MyBadLong(0)) #doctest: +ELLIPSIS
Traceback (most recent call last):
...
...
...
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