summaryrefslogtreecommitdiff
path: root/numpy/testing
diff options
context:
space:
mode:
authorBas van Beek <b.f.van.beek@vu.nl>2021-07-09 10:26:53 +0200
committerBas van Beek <43369155+BvB93@users.noreply.github.com>2021-07-25 22:24:46 +0200
commit25e6e11a91c550fadad6250bf8701cfbd5af2d09 (patch)
treed03a75fdb7a3ac7b2bf37a35c092c531d310036a /numpy/testing
parenta2a5b30e109cbd18679617fcaadf195e79324c36 (diff)
downloadnumpy-25e6e11a91c550fadad6250bf8701cfbd5af2d09.tar.gz
ENH: Add annotations for `<module>.test` objects
Diffstat (limited to 'numpy/testing')
-rw-r--r--numpy/testing/__init__.pyi3
1 files changed, 3 insertions, 0 deletions
diff --git a/numpy/testing/__init__.pyi b/numpy/testing/__init__.pyi
index 9eaba3deb..75854c0e3 100644
--- a/numpy/testing/__init__.pyi
+++ b/numpy/testing/__init__.pyi
@@ -1,5 +1,7 @@
from typing import List
+from numpy._pytesttester import PytestTester
+
from unittest import (
TestCase as TestCase,
)
@@ -47,6 +49,7 @@ from numpy.testing._private.utils import (
)
__all__: List[str]
+test: PytestTester
def run_module_suite(
file_to_run: None | str = ...,