summaryrefslogtreecommitdiff
path: root/numpy/array_api/tests/test_set_functions.py
diff options
context:
space:
mode:
authorSebastian Berg <sebastian@sipsolutions.net>2022-01-19 11:50:13 -0600
committerSebastian Berg <sebastian@sipsolutions.net>2022-01-19 11:52:43 -0600
commit9f9d755c9ab68a9ef3a5ffee8ea30d6a837732c1 (patch)
treee099ebf638aeadb64362d73b3953db08dc37fa3a /numpy/array_api/tests/test_set_functions.py
parente15d85324a1f5641aaccafbe3cc87556e88ff0a3 (diff)
downloadnumpy-9f9d755c9ab68a9ef3a5ffee8ea30d6a837732c1.tar.gz
ENH: Give a clear error when control characters match/are newlines
These never have a meaning (at best an implicit order meaning one is ignored), except theoretically in the `delimiter=None` case (or in strange cases with `\r` being a delimiter, but `\n` being the newline when a file is opened manually but not in universal newline mode). It seems more useful to just generally raise an error, since all of "features" are weird corner cases and likely surprising to users.
Diffstat (limited to 'numpy/array_api/tests/test_set_functions.py')
0 files changed, 0 insertions, 0 deletions