diff options
author | Bas van Beek <b.f.van.beek@vu.nl> | 2020-11-25 15:24:43 +0100 |
---|---|---|
committer | Bas van Beek <b.f.van.beek@vu.nl> | 2020-12-22 17:24:04 +0100 |
commit | 8685cf3ad8faa3dc2828be59fa45351456f55aee (patch) | |
tree | a9c64450a09b472268f7667a9e882c50b52ca0cb | |
parent | fd17d1eb73b93facafac84ecc24f3117de5247b4 (diff) | |
download | numpy-8685cf3ad8faa3dc2828be59fa45351456f55aee.tar.gz |
MAINT,TST: Fixed a failure due platform-dependent precisions
-rw-r--r-- | numpy/typing/tests/data/reveal/dtype.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/numpy/typing/tests/data/reveal/dtype.py b/numpy/typing/tests/data/reveal/dtype.py index 626a15270..f786637dc 100644 --- a/numpy/typing/tests/data/reveal/dtype.py +++ b/numpy/typing/tests/data/reveal/dtype.py @@ -15,15 +15,15 @@ reveal_type(np.dtype("bytes")) # E: numpy.dtype[numpy.bytes_] reveal_type(np.dtype("str")) # E: numpy.dtype[numpy.str_] # Python types -reveal_type(np.dtype(complex)) # E: numpy.dtype[numpy.complexfloating[numpy.typing._64Bit, numpy.typing._64Bit]] -reveal_type(np.dtype(float)) # E: numpy.dtype[numpy.floating[numpy.typing._64Bit]] -reveal_type(np.dtype(int)) # E: numpy.dtype +reveal_type(np.dtype(complex)) # E: numpy.dtype[numpy.complexfloating[numpy.typing._ +reveal_type(np.dtype(float)) # E: numpy.dtype[numpy.floating[numpy.typing._ +reveal_type(np.dtype(int)) # E: numpy.dtype[numpy.signedinteger[numpy.typing._ reveal_type(np.dtype(bool)) # E: numpy.dtype[numpy.bool_] reveal_type(np.dtype(str)) # E: numpy.dtype[numpy.str_] reveal_type(np.dtype(bytes)) # E: numpy.dtype[numpy.bytes_] # Special case for None -reveal_type(np.dtype(None)) # E: numpy.dtype[numpy.floating[numpy.typing._64Bit]] +reveal_type(np.dtype(None)) # E: numpy.dtype[numpy.floating[numpy.typing._ # Dtypes of dtypes reveal_type(np.dtype(np.dtype(np.float64))) # E: numpy.dtype[numpy.floating[numpy.typing._64Bit]] |