comparison tests/test_codespell.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
10 10
11 def test_codespell(): 11 def test_codespell():
12 ''' 12 '''
13 Check rebased Python code with codespell. 13 Check rebased Python code with codespell.
14 ''' 14 '''
15 if os.environ.get('PYODIDE_ROOT'):
16 print('test_codespell(): not running on Pyodide - cannot run child processes.')
17 return
18
15 if not hasattr(pymupdf, 'mupdf'): 19 if not hasattr(pymupdf, 'mupdf'):
16 print('Not running codespell with classic implementation.') 20 print('Not running codespell with classic implementation.')
17 return 21 return
18 22
19 if platform.system() == 'Windows': 23 if platform.system() == 'Windows':