summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorJon Dufresne <jon.dufresne@gmail.com>2018-09-09 18:05:13 -0700
committerJon Dufresne <jon.dufresne@gmail.com>2018-09-17 09:55:25 -0700
commitf5ef8b9e679dc5a060f88b818783c55aa04bb3ca (patch)
tree21cb175562e9f0c39913948455896e8fbe5bcb3f /test
parent7f4f3b626e7f2f6f2365c77a9b7f6dac72f41f12 (diff)
downloadappdirs-f5ef8b9e679dc5a060f88b818783c55aa04bb3ca.tar.gz
Drop support for EOL Pythons
Python 2.6, 3.2, and 3.3 are end of life. They are no longer receiving bug fixes, including for security issues. Python 2.6 went EOL on 2013-10-29, Python 3.2 on 2016-02-20, and Python 3.3 on 2017-09-29. For additional details on support Python versions, see: https://devguide.python.org/#status-of-python-branches https://devguide.python.org/devcycle/#end-of-life-branches Removing support for EOL Pythons will reduce testing and maintenance resources. Using pypinfo, here are the PyPI download statistics for the last 30 days, showing low numbers for EOL Pythons. | python_version | percent | download_count | | -------------- | ------: | -------------: | | 2.7 | 61.50% | 785,047 | | 3.6 | 24.17% | 308,576 | | 3.5 | 8.09% | 103,320 | | 3.7 | 3.23% | 41,242 | | 3.4 | 2.81% | 35,877 | | 2.6 | 0.13% | 1,622 | | 3.3 | 0.06% | 711 | | 3.8 | 0.01% | 174 | | None | 0.00% | 19 | | 3.2 | 0.00% | 7 |
Diffstat (limited to 'test')
-rw-r--r--test/test_api.py6
1 files changed, 1 insertions, 5 deletions
diff --git a/test/test_api.py b/test/test_api.py
index aac4540..8c89fb2 100644
--- a/test/test_api.py
+++ b/test/test_api.py
@@ -1,11 +1,7 @@
import sys
+import unittest
import appdirs
-if sys.version_info < (2, 7):
- import unittest2 as unittest
-else:
- import unittest
-
if sys.version_info[0] < 3:
STRING_TYPE = basestring
else: