diff options
-rw-r--r-- | natsort/natsort.py | 1 | ||||
-rw-r--r-- | setup.cfg | 3 | ||||
-rw-r--r-- | tox.ini | 7 |
3 files changed, 3 insertions, 8 deletions
diff --git a/natsort/natsort.py b/natsort/natsort.py index 49aa4c5..c935469 100644 --- a/natsort/natsort.py +++ b/natsort/natsort.py @@ -604,4 +604,3 @@ def numeric_regex_chooser(alg): """ # Remove the leading and trailing parens return utils.regex_chooser(alg).pattern[1:-1] - @@ -24,8 +24,6 @@ classifiers = License :: OSI Approved :: MIT License Natural Language :: English Programming Language :: Python - Programming Language :: Python :: 2 - Programming Language :: Python :: 2.7 Programming Language :: Python :: 3 Programming Language :: Python :: 3.4 Programming Language :: Python :: 3.5 @@ -69,5 +67,4 @@ exclude = dist, docs, .venv, - natsort/compat/py23.py @@ -22,10 +22,9 @@ deps = extras = {env:WITH_EXTRAS:} commands = - # Only run How It Works doctest on Python 3.6. - py36: {envpython} -m doctest -o IGNORE_EXCEPTION_DETAIL docs/howitworks.rst - # Other doctests are run for all pythons except 2.7. - !py27: pytest README.rst docs/intro.rst docs/examples.rst + # Doctests + {envpython} -m doctest -o IGNORE_EXCEPTION_DETAIL docs/howitworks.rst + pytest README.rst docs/intro.rst docs/examples.rst pytest --doctest-modules {envsitepackagesdir}/natsort # Full test suite. Allow the user to pass command-line objects. pytest --hypothesis-profile=slow-tests --tb=short --cov {envsitepackagesdir}/natsort --cov-report term-missing {posargs:} |