summaryrefslogtreecommitdiff
path: root/numpy/lib/tests/test_function_base.py
diff options
context:
space:
mode:
authorWarren Weckesser <warren.weckesser@gmail.com>2020-03-24 17:52:40 -0400
committerGitHub <noreply@github.com>2020-03-24 16:52:40 -0500
commite1968acbedfb312b47993ac2869a5f544383195b (patch)
tree935a8ce538f75ed802e198a4b153ce7a54396d99 /numpy/lib/tests/test_function_base.py
parent637af579ef5985bd8c267817cf445aca5bb34531 (diff)
downloadnumpy-e1968acbedfb312b47993ac2869a5f544383195b.tar.gz
BUG: Add basic __format__ for masked element to fix incorrect print (#15794)
Fix and test conversion of masked element to string in fstring / string interpolation. See PEP 498 for string interpolation (aka fstrings) in Python 3.6 and above. Fixes #15409. Original PR gh-15410 by: Stefan Codrescu <ssmmcc1@gmail.com> Co-authored-by: Stefan Codrescu <ssmmcc1@gmail.com> Co-authored-by: Stefan <5tefan@users.noreply.github.com> Co-authored-by: Eric Wieser <wieser.eric@gmail.com> Co-authored-by: Sebastian Berg <sebastian@sipsolutions.net>
Diffstat (limited to 'numpy/lib/tests/test_function_base.py')
0 files changed, 0 insertions, 0 deletions