diff options
author | Jon Dufresne <jon.dufresne@gmail.com> | 2019-08-26 17:38:16 -0700 |
---|---|---|
committer | Jon Dufresne <jon.dufresne@gmail.com> | 2019-09-25 19:17:59 -0700 |
commit | 7f1293f7100d47824c12281238ce42aeef69167c (patch) | |
tree | 97f8ab3d7c341e63057dbdd44ecb1aa41d3dec49 /tox.ini | |
parent | aa3625f86302513fb7ca7288298e7cbe59d62fdd (diff) | |
download | numpy-7f1293f7100d47824c12281238ce42aeef69167c.tar.gz |
MAINT: Avoid all BytesWarning
A BytesWarning can be emitted when bytes are and strings are mismatched.
Catching BytesWarning ensures a better boundary between str and bytes
type. The test suite is now run with the -b flag to emit this warning.
Fixes #9308
Diffstat (limited to 'tox.ini')
-rw-r--r-- | tox.ini | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -32,7 +32,7 @@ envlist = [testenv] deps= -Ur{toxinidir}/test_requirements.txt changedir={envdir} -commands={envpython} {toxinidir}/runtests.py --mode=full {posargs:} +commands={envpython} -b {toxinidir}/runtests.py --mode=full {posargs:} [testenv:py37-not-relaxed-strides] basepython=python3.7 |