summaryrefslogtreecommitdiff
path: root/numpy/random
diff options
context:
space:
mode:
authorMatti Picus <matti.picus@gmail.com>2021-07-26 09:03:19 +0300
committerGitHub <noreply@github.com>2021-07-26 09:03:19 +0300
commit978bbe7fdb519edf1f28df4982ce13523ef59a4d (patch)
treedcb4cd855379d9d7f0562abccb62f64893302a0b /numpy/random
parente58c1a7f0decf7e43afbdeaa755492e665dd5533 (diff)
parent77f718c5518b25617dedbfd28d74eabc59764388 (diff)
downloadnumpy-978bbe7fdb519edf1f28df4982ce13523ef59a4d.tar.gz
Merge pull request #19559 from BvB93/pytest
ENH: Add annotations for `__path__` and `PytestTester`
Diffstat (limited to 'numpy/random')
-rw-r--r--numpy/random/__init__.pyi4
1 files changed, 4 insertions, 0 deletions
diff --git a/numpy/random/__init__.pyi b/numpy/random/__init__.pyi
index 48b620c48..bf6147697 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,5 @@ from numpy.random.mtrand import (
)
__all__: List[str]
+__path__: List[str]
+test: PytestTester