Fix a lot of test related typing issues

This commit is contained in:
Dave Halter
2026-02-10 19:38:55 +01:00
parent 6903bc25d5
commit 8cbb817b12
20 changed files with 47 additions and 40 deletions
+2 -2
View File
@@ -11,14 +11,14 @@ import jedi
from ..helpers import test_dir
try:
import numpydoc # NOQA
import numpydoc # type: ignore[import-not-found] # NOQA
except ImportError:
numpydoc_unavailable = True
else:
numpydoc_unavailable = False
try:
import numpy # NOQA
import numpy # type: ignore[import-not-found] # NOQA
except ImportError:
numpy_unavailable = True
else: