We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
fitz
1 parent 0c4b377 commit 6591ab7Copy full SHA for 6591ab7
1 file changed
tests/test_typing.py
@@ -9,6 +9,16 @@ def run(command, check=1):
9
subprocess.run(command, shell=1, check=check)
10
11
def test_py_typed():
12
+
13
+ if os.path.basename(__file__).startswith(f'test_fitz_'):
14
+ # Don't test the `fitz` alias, because mypy complains.
15
+ print(f'test_py_typed(): Not testing with fitz alias.')
16
+ return
17
18
+ if os.environ.get('PYODIDE_ROOT'):
19
+ print('test_py_typed(): not running on Pyodide - cannot run child processes.')
20
21
22
print(f'test_py_typed(): {pymupdf.__path__=}')
23
run('pip uninstall -y mypy')
24
run('pip install mypy')
0 commit comments