Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 11 additions & 0 deletions tests/test_4767.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import shutil
import os
import platform
import pymupdf
import subprocess
import sys
Expand All @@ -12,6 +13,16 @@ def test_4767():
if os.environ.get('PYODIDE_ROOT'):
print('test_4767(): not running on Pyodide - cannot run child processes.')
return

if (1
and platform.system() == 'Windows'
and os.environ.get('GITHUB_ACTIONS') == 'true'
and os.environ.get('CIBUILDWHEEL') == '1'
):
print(f'test_4767(): not running because known to fail on Github/Windows/Cibuildwheel.')
# Using -unsafe makes pymupdf return 0 but does not seem to create
# output file.
return

with pymupdf.open() as document:
document.new_page()
Expand Down