From 25e6e11a91c550fadad6250bf8701cfbd5af2d09 Mon Sep 17 00:00:00 2001 From: Bas van Beek Date: Fri, 9 Jul 2021 10:26:53 +0200 Subject: ENH: Add annotations for `.test` objects --- numpy/random/__init__.pyi | 3 +++ 1 file changed, 3 insertions(+) (limited to 'numpy/random') diff --git a/numpy/random/__init__.pyi b/numpy/random/__init__.pyi index 48b620c48..5705bc4a7 100644 --- a/numpy/random/__init__.pyi +++ b/numpy/random/__init__.pyi @@ -1,5 +1,7 @@ from typing import List +from numpy._pytesttester import PytestTester + from numpy.random._generator import Generator as Generator from numpy.random._generator import default_rng as default_rng from numpy.random._mt19937 import MT19937 as MT19937 @@ -66,3 +68,4 @@ from numpy.random.mtrand import ( ) __all__: List[str] +test: PytestTester -- cgit v1.2.1 From 77f718c5518b25617dedbfd28d74eabc59764388 Mon Sep 17 00:00:00 2001 From: Bas van Beek Date: Fri, 9 Jul 2021 10:31:02 +0200 Subject: ENH: Add `__path__` annotations to all sub-packages --- numpy/random/__init__.pyi | 1 + 1 file changed, 1 insertion(+) (limited to 'numpy/random') diff --git a/numpy/random/__init__.pyi b/numpy/random/__init__.pyi index 5705bc4a7..bf6147697 100644 --- a/numpy/random/__init__.pyi +++ b/numpy/random/__init__.pyi @@ -68,4 +68,5 @@ from numpy.random.mtrand import ( ) __all__: List[str] +__path__: List[str] test: PytestTester -- cgit v1.2.1