File tree 2 files changed +3
-0
lines changed
2 files changed +3
-0
lines changed Original file line number Diff line number Diff line change 1
1
import io
2
+ import sys
2
3
3
4
import numpy as np
4
5
from numpy .testing import assert_array_almost_equal
@@ -297,6 +298,7 @@ def test_draw_path_collection_error_handling():
297
298
fig .canvas .draw ()
298
299
299
300
301
+ @pytest .mark .skipif (sys .platform == 'emscripten' , reason = 'Too large for emscripten VM' )
300
302
def test_chunksize_fails ():
301
303
# NOTE: This test covers multiple independent test scenarios in a single
302
304
# function, because each scenario uses ~2GB of memory and we don't
Original file line number Diff line number Diff line change @@ -1556,6 +1556,7 @@ def test_rc_interpolation_stage():
1556
1556
mpl .rcParams ["image.interpolation_stage" ] = val
1557
1557
1558
1558
1559
+ @pytest .mark .skipif (sys .platform == 'emscripten' , reason = 'Figure too large for WASM' )
1559
1560
# We check for the warning with a draw() in the test, but we also need to
1560
1561
# filter the warning as it is emitted by the figure test decorator
1561
1562
@pytest .mark .filterwarnings (r'ignore:Data with more than .* '
You can’t perform that action at this time.
0 commit comments