diff options
author | Hood Chatham <roberthoodchatham@gmail.com> | 2022-11-10 11:54:21 -0800 |
---|---|---|
committer | Hood Chatham <roberthoodchatham@gmail.com> | 2022-11-11 02:52:06 -0800 |
commit | 08c6e9c142e619ac5175b6a13342ba2f2c571ddd (patch) | |
tree | 8be92e0f2d27dd9c888fde95c2dfe46a305ba892 /numpy/tests/test_reloading.py | |
parent | 6aacc5167983d7c6f8689d7039294f2fc0d5f5fb (diff) | |
download | numpy-08c6e9c142e619ac5175b6a13342ba2f2c571ddd.tar.gz |
TST: Skip tests that are not currently supported in wasm
Diffstat (limited to 'numpy/tests/test_reloading.py')
-rw-r--r-- | numpy/tests/test_reloading.py | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/numpy/tests/test_reloading.py b/numpy/tests/test_reloading.py index 8d8c8aa34..a1f360089 100644 --- a/numpy/tests/test_reloading.py +++ b/numpy/tests/test_reloading.py @@ -1,6 +1,13 @@ -from numpy.testing import assert_raises, assert_warns, assert_, assert_equal +from numpy.testing import ( + assert_raises, + assert_warns, + assert_, + assert_equal, + IS_WASM, +) from numpy.compat import pickle +import pytest import sys import subprocess import textwrap @@ -37,6 +44,7 @@ def test_novalue(): protocol=proto)) is np._NoValue) +@pytest.mark.skipif(IS_WASM, reason="can't start subprocess") def test_full_reimport(): """At the time of writing this, it is *not* truly supported, but apparently enough users rely on it, for it to be an annoying change |