Skip to content

Commit 87813c3

Browse files
tests/test_4767.py: don't attempt to run on pyodide.
1 parent 3dd99be commit 87813c3

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

tests/test_4767.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,10 @@ def test_4767():
99
'''
1010
Check handling of unsafe paths in `pymupdf embed-extract`.
1111
'''
12+
if os.environ.get('PYODIDE_ROOT'):
13+
print('test_4767(): not running on Pyodide - cannot run child processes.')
14+
return
15+
1216
with pymupdf.open() as document:
1317
document.new_page()
1418
document.embfile_add(

0 commit comments

Comments
 (0)