summaryrefslogtreecommitdiff
path: root/numpy/f2py/tests/test_callback.py
diff options
context:
space:
mode:
authorxoviat <xoviat@users.noreply.github.com>2017-09-04 23:32:26 -0500
committerxoviat <xoviat@users.noreply.github.com>2017-09-04 23:33:25 -0500
commit917652ab0ebc7dfcba5b87902829658fff754730 (patch)
tree36b1d15d6b2ce8d1f79c06eea003a7b2b52275c8 /numpy/f2py/tests/test_callback.py
parent37878bfb4aa9db5860887ad994c4014611812cb3 (diff)
downloadnumpy-917652ab0ebc7dfcba5b87902829658fff754730.tar.gz
TST: fix failures:
1. fail tests related to DLL load failure as they were previously untested. 2. fix have_compiler to return false on old compilers 3. xfail some tests that were not working on old Python versions.
Diffstat (limited to 'numpy/f2py/tests/test_callback.py')
-rw-r--r--numpy/f2py/tests/test_callback.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/numpy/f2py/tests/test_callback.py b/numpy/f2py/tests/test_callback.py
index ea29043ed..3df205bcf 100644
--- a/numpy/f2py/tests/test_callback.py
+++ b/numpy/f2py/tests/test_callback.py
@@ -2,6 +2,7 @@ from __future__ import division, absolute_import, print_function
import math
import textwrap
+import sys
from numpy import array
from numpy.testing import run_module_suite, assert_, assert_equal, dec
@@ -119,6 +120,7 @@ cf2py intent(out) a
r = t(a.mth)
assert_(r == 9, repr(r))
+ @dec.knownfailureif(sys.platform=='win32', msg='Fails with MinGW64 Gfortran')
def test_string_callback(self):
def callback(code):