summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--natsort/natsort.py1
-rw-r--r--setup.cfg3
-rw-r--r--tox.ini7
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]
-
diff --git a/setup.cfg b/setup.cfg
index 1d61786..23ef761 100644
--- a/setup.cfg
+++ b/setup.cfg
@@ -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
diff --git a/tox.ini b/tox.ini
index f6ef4f7..30d0a43 100644
--- a/tox.ini
+++ b/tox.ini
@@ -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:}