8000 FIX: Mark a tests knownfail on Hurd by certik · Pull Request #2736 · numpy/numpy · GitHub
[go: up one dir, main page]

Skip to content

FIX: Mark a tests knownfail on Hurd #2736

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Nov 14, 2012
Merged

FIX: Mark a tests knownfail on Hurd #2736

merged 1 commit into from
Nov 14, 2012

Conversation

certik
Copy link
Contributor
@certik certik commented Nov 14, 2012

Fixes gh-415. This test raises "Function not implemented" on Hurd:

======================================================================
ERROR: test_flush (test_memmap.TestMemmap)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/build/buildd-python-numpy_1.7.0~b2-1-hurd-i386-Ws9GSv/python-numpy-1.7.0~b2/debian/tmp/usr/lib/python3/dist-packages/numpy/core/tests/test_memmap.py", line 72, in test_flush
    fp.flush()
  File "/build/buildd-python-numpy_1.7.0~b2-1-hurd-i386-Ws9GSv/python-numpy-1.7.0~b2/debian/tmp/usr/lib/python3/dist-packages/numpy/core/memmap.py", line 301, in flush
    self.base.flush()
mmap.error: [Errno 1073741902] Function not implemented

Which seems like a Hurd issue:

http://web.archiveorange.com/archive/v/dpz3Spjqy0ESHmXKVt7c

http://lists.gnu.org/archive/html/bug-hurd/2002-11/msg00243.html

So we mark it as knownfail on that platform.

Fixes numpygh-415. This test raises "Function not implemented" on Hurd:

======================================================================
ERROR: test_flush (test_memmap.TestMemmap)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/build/buildd-python-numpy_1.7.0~b2-1-hurd-i386-Ws9GSv/python-numpy-1.7.0~b2/debian/tmp/usr/lib/python3/dist-packages/numpy/core/tests/test_memmap.py", line 72, in test_flush
    fp.flush()
  File "/build/buildd-python-numpy_1.7.0~b2-1-hurd-i386-Ws9GSv/python-numpy-1.7.0~b2/debian/tmp/usr/lib/python3/dist-packages/numpy/core/memmap.py", line 301, in flush
    self.base.flush()
mmap.error: [Errno 1073741902] Function not implemented

Which seems like a Hurd issue:

http://web.archiveorange.com/archive/v/dpz3Spjqy0ESHmXKVt7c

http://lists.gnu.org/archive/html/bug-hurd/2002-11/msg00243.html

So we mark it as knownfail on that platform.
@certik
Copy link
Contributor Author
certik commented Nov 14, 2012

Also it needs to be backported to 1.7.x

rgommers pushed a commit that referenced this pull request Nov 14, 2012
FIX: Mark a tests knownfail on Hurd
@rgommers rgommers merged commit 9f1ee24 into numpy:master Nov 14, 2012
@rgommers
Copy link
Member

Merged, thanks Ondrej.

@certik
Copy link
Contributor Author
certik commented Nov 14, 2012

Thanks. Back-ported in 8ab301a.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1.7.0b1 - Unittest errors building on Debian hurd-i386
2 participants
0