diff options
author | Antonio Larrosa <33935697+antlarr-suse@users.noreply.github.com> | 2020-07-18 22:20:10 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-07-18 15:20:10 -0500 |
commit | 9765987c2ade250c82bfeaba49d1f9301211d63a (patch) | |
tree | 7e0065b5c536536d0e1a755be83d511ef288f57c /numpy/array_api/tests/test_indexing_functions.py | |
parent | 6ef5ec39cdfaf77aa4600ec2e3bf9f679a4fd527 (diff) | |
download | numpy-9765987c2ade250c82bfeaba49d1f9301211d63a.tar.gz |
TST, BUG: Re-raise MemoryError exception in test_large_zip's process (gh-16890)
Since #15893, test_large_zip's actual test is run in a child process,
so when this test raises a MemoryError exception, the exception is
lost and the @requires_memory decorator can't catch it to return
an xfail.
This commit uses a boolean variable in shared memory to flag if
the exception was raised, and in that case, re-raise it in the
parent process.
Fixes #16889
Diffstat (limited to 'numpy/array_api/tests/test_indexing_functions.py')
0 files changed, 0 insertions, 0 deletions