From 08c6e9c142e619ac5175b6a13342ba2f2c571ddd Mon Sep 17 00:00:00 2001 From: Hood Chatham Date: Thu, 10 Nov 2022 11:54:21 -0800 Subject: TST: Skip tests that are not currently supported in wasm --- numpy/tests/test_reloading.py | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'numpy/tests/test_reloading.py') 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 -- cgit v1.2.1