comparison tests/test_pylint.py @ 41:71bcc18e306f

MERGE: New upstream PyMuPDF v1.26.5 including MuPDF v1.26.10 BUGS: Needs some additional changes yet. Not yet tested.
author Franz Glasner <fzglas.hg@dom66.de>
date Sat, 11 Oct 2025 15:24:40 +0200
parents a6bc019ac0b2
children
comparison
equal deleted inserted replaced
38:8934ac156ef5 41:71bcc18e306f
4 import subprocess 4 import subprocess
5 import sys 5 import sys
6 import textwrap 6 import textwrap
7 7
8 def test_pylint(): 8 def test_pylint():
9
10 if os.environ.get('PYODIDE_ROOT'):
11 print('test_pylint(): not running on Pyodide - cannot run child processes.')
12 return
9 13
10 if not hasattr(pymupdf, 'mupdf'): 14 if not hasattr(pymupdf, 'mupdf'):
11 print(f'test_pylint(): Not running with classic implementation.') 15 print(f'test_pylint(): Not running with classic implementation.')
12 return 16 return
13 17