comparison tests/test_pylint.py @ 39:a6bc019ac0b2 upstream

ADD: PyMuPDF v1.26.5: the original sdist.
author Franz Glasner <fzglas.hg@dom66.de>
date Sat, 11 Oct 2025 11:19:58 +0200
parents 1d09e1dec1d9
children
comparison
equal deleted inserted replaced
2:b50eed0cc0ef 39:a6bc019ac0b2
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