summaryrefslogtreecommitdiff
path: root/numpy
diff options
context:
space:
mode:
authorBas van Beek <b.f.van.beek@vu.nl>2021-05-05 23:41:36 +0200
committerBas van Beek <b.f.van.beek@vu.nl>2021-05-05 23:41:36 +0200
commit6a680f8a49ce8a23c55f9580e21977f44aba6224 (patch)
treee7be432e9f92468dcd346715aa04b6b9acb133f1 /numpy
parent7ae04a19216c352ee53188fed0b39cd63468caf3 (diff)
downloadnumpy-6a680f8a49ce8a23c55f9580e21977f44aba6224.tar.gz
MAINT: Add placeholder annotations for two missing `np.testing` objects
Adds placeholders for two `np.testing` objects previously missed in https://github.com/numpy/numpy/pull/18842.
Diffstat (limited to 'numpy')
-rw-r--r--numpy/testing/__init__.pyi6
1 files changed, 6 insertions, 0 deletions
diff --git a/numpy/testing/__init__.pyi b/numpy/testing/__init__.pyi
index efb6bcd91..395626f6b 100644
--- a/numpy/testing/__init__.pyi
+++ b/numpy/testing/__init__.pyi
@@ -7,12 +7,18 @@ if sys.version_info >= (3, 8):
else:
from typing_extensions import Final
+from unittest import (
+ TestCase as TestCase,
+)
+
from unittest.case import (
SkipTest as SkipTest,
)
__all__: List[str]
+def run_module_suite(file_to_run=..., argv=...): ...
+
class KnownFailureException(Exception): ...
class IgnoreException(Exception): ...