diff options
author | Charles Harris <charlesr.harris@gmail.com> | 2016-08-15 14:22:20 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-08-15 14:22:20 -0500 |
commit | 63d30baee2535f03d55a10819ea1e56165d4c030 (patch) | |
tree | 9ec805147b5cbecdf8b4bc5e7a5264a3148ac532 /numpy/lib/tests/test_io.py | |
parent | 256103a9313a59a0a0762175574ed5acb5290520 (diff) | |
parent | 76eff9ca4648e96ba1f560e83f40383f68805493 (diff) | |
download | numpy-63d30baee2535f03d55a10819ea1e56165d4c030.tar.gz |
Merge pull request #7912 from mattip/pypy-fixes2
ENH: skip or avoid gc/objectmodel differences btwn pypy and cpython
Diffstat (limited to 'numpy/lib/tests/test_io.py')
-rw-r--r-- | numpy/lib/tests/test_io.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/numpy/lib/tests/test_io.py b/numpy/lib/tests/test_io.py index de73d57f7..1474349de 100644 --- a/numpy/lib/tests/test_io.py +++ b/numpy/lib/tests/test_io.py @@ -19,7 +19,7 @@ from numpy.ma.testutils import assert_equal from numpy.testing import ( TestCase, run_module_suite, assert_warns, assert_, assert_raises_regex, assert_raises, assert_allclose, - assert_array_equal, temppath, dec + assert_array_equal, temppath, dec, IS_PYPY ) @@ -266,6 +266,7 @@ class TestSavezLoad(RoundtripTest, TestCase): fp.seek(0) assert_(not fp.closed) + @np.testing.dec.skipif(IS_PYPY, "context manager required on PyPy") def test_closing_fid(self): # Test that issue #1517 (too many opened files) remains closed # It might be a "weak" test since failed to get triggered on |