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

GitHub noreply@github....
Wed Nov 14 14:06:44 CST 2012


  Branch: refs/heads/master
  Home:   https://github.com/numpy/numpy
  Commit: f6cab0a8afc16137e8e0edb3e657494d37d8d211
      https://github.com/numpy/numpy/commit/f6cab0a8afc16137e8e0edb3e657494d37d8d211
  Author: Ondřej Čertík <ondrej.certik@gmail.com>
  Date:   2012-11-13 (Tue, 13 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.


  Commit: 9f1ee24ec0801e3980c904dd1bf27e752ee8c1dc
      https://github.com/numpy/numpy/commit/9f1ee24ec0801e3980c904dd1bf27e752ee8c1dc
  Author: Ralf Gommers <ralf.gommers@googlemail.com>
  Date:   2012-11-14 (Wed, 14 Nov 2012)

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

  Log Message:
  -----------
  Merge pull request #2736 from certik/fix415

FIX: Mark a tests knownfail on Hurd


Compare: https://github.com/numpy/numpy/compare/40d02916e9cf...9f1ee24ec080


More information about the Numpy-svn mailing list