diff options
author | Bas van Beek <b.f.van.beek@vu.nl> | 2020-11-30 14:09:57 +0100 |
---|---|---|
committer | Bas van Beek <b.f.van.beek@vu.nl> | 2020-12-22 17:24:04 +0100 |
commit | ba4ad04b356aac976cf7940d8885c66cdab0b706 (patch) | |
tree | cf9b985d4bdb0c8d8f584858a04de4ba77931e9a /numpy | |
parent | 9fa57fd482e113c089cc9aae8ac4200ac877455e (diff) | |
download | numpy-ba4ad04b356aac976cf7940d8885c66cdab0b706.tar.gz |
DOC: Add a comment about truncating and sub-string matching
Co-Authored-By: Eric Wieser <425260+eric-wieser@users.noreply.github.com>
Diffstat (limited to 'numpy')
-rw-r--r-- | numpy/typing/tests/data/reveal/arithmetic.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/numpy/typing/tests/data/reveal/arithmetic.py b/numpy/typing/tests/data/reveal/arithmetic.py index de88602f3..4d07e8dac 100644 --- a/numpy/typing/tests/data/reveal/arithmetic.py +++ b/numpy/typing/tests/data/reveal/arithmetic.py @@ -126,6 +126,9 @@ reveal_type(c16 + b_) # E: numpy.complexfloating[numpy.typing._64Bit, numpy.typ reveal_type(c16 + b) # E: numpy.complexfloating[numpy.typing._64Bit, numpy.typing._64Bit] reveal_type(c16 + c) # E: numpy.complexfloating[numpy.typing._64Bit, numpy.typing._64Bit] reveal_type(c16 + f) # E: numpy.complexfloating[numpy.typing._64Bit, numpy.typing._64Bit] + +# note this comment is deliberate truncated as the result varies by platform, +# and the numpy `reveal` tests use substring matching reveal_type(c16 + i) # E: numpy.complexfloating[numpy.typing._ reveal_type(c16 + AR) # E: Any |