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
Boxiang Sun
cython
Commits
8653218f
Commit
8653218f
authored
Jan 12, 2018
by
Stefan Behnel
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Try to fix a doctest by removing its dependency on exact float formatting of NumPy output.
parent
b2265e52
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
tests/memoryview/numpy_memoryview.pyx
tests/memoryview/numpy_memoryview.pyx
+2
-2
No files found.
tests/memoryview/numpy_memoryview.pyx
View file @
8653218f
...
...
@@ -299,7 +299,7 @@ def test_coerce_to_numpy():
deallocating...
(16.5+17.7j)
deallocating...
(18.8
+19.96
j)
(18.8
125+19.9375
j)
deallocating...
22
deallocating...
...
...
@@ -369,7 +369,7 @@ def test_coerce_to_numpy():
floatcomplex
[
idx
]
=
14.4
+
15.5j
doublecomplex
[
idx
]
=
16.5
+
17.7j
longdoublecomplex
[
idx
]
=
18.8
+
19.96j
longdoublecomplex
[
idx
]
=
18.8
125
+
19.9375j
# x/64 to avoid float format rounding issues
h_shorts
[
idx
]
=
22
h_doubles
[
idx
]
=
33.33
...
...
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