diff options
author | Bas van Beek <b.f.van.beek@vu.nl> | 2021-04-21 18:06:36 +0200 |
---|---|---|
committer | Bas van Beek <b.f.van.beek@vu.nl> | 2021-04-30 22:09:51 +0200 |
commit | b1eaa4033d9a8a62d7789e112db6d74fe897d42b (patch) | |
tree | ff9388c3d7ebde1c5784516896ee29d1df2a25f1 /numpy/typing | |
parent | 9d023167249bd1cfc2c3161483b8253b313b0b46 (diff) | |
download | numpy-b1eaa4033d9a8a62d7789e112db6d74fe897d42b.tar.gz |
MAINT: Remove unsafe unions from `np.core.function_base`
Diffstat (limited to 'numpy/typing')
-rw-r--r-- | numpy/typing/tests/data/reveal/array_constructors.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/numpy/typing/tests/data/reveal/array_constructors.py b/numpy/typing/tests/data/reveal/array_constructors.py index 04d5cd229..2e803a365 100644 --- a/numpy/typing/tests/data/reveal/array_constructors.py +++ b/numpy/typing/tests/data/reveal/array_constructors.py @@ -41,7 +41,7 @@ reveal_type(np.require(B, requirements="A")) # E: SubClass reveal_type(np.require(C)) # E: numpy.ndarray[Any, Any] reveal_type(np.linspace(0, 10)) # E: numpy.ndarray[Any, Any] -reveal_type(np.linspace(0, 10, retstep=True)) # E: Tuple[numpy.ndarray[Any, Any], numpy.inexact[Any]] +reveal_type(np.linspace(0, 10, retstep=True)) # E: Tuple[numpy.ndarray[Any, Any], Any] reveal_type(np.logspace(0, 10)) # E: numpy.ndarray[Any, Any] reveal_type(np.geomspace(1, 10)) # E: numpy.ndarray[Any, Any] |