comparison tests/test_codespell.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
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':