[Numpy-svn] [numpy/numpy] 8ab301: FIX: Mark a tests knownfail on Hurd

GitHub noreply@github....
Wed Nov 14 17:38:43 CST 2012


  Branch: refs/heads/maintenance/1.7.x
  Home:   https://github.com/numpy/numpy
  Commit: 8ab301afe1f75b926640c48e278a9b100b8e07d2
      https://github.com/numpy/numpy/commit/8ab301afe1f75b926640c48e278a9b100b8e07d2
  Author: Ondřej Čertík <ondrej.certik@gmail.com>
  Date:   2012-11-14 (Wed, 14 Nov 2012)

  Changed paths:
    M numpy/core/tests/test_memmap.py

  Log Message:
  -----------
  FIX: Mark a tests knownfail on Hurd

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.





More information about the Numpy-svn mailing list