diff options
| author | Jon Dufresne <jon.dufresne@gmail.com> | 2018-06-30 06:38:56 -0700 |
|---|---|---|
| committer | Jon Dufresne <jon.dufresne@gmail.com> | 2018-06-30 06:41:06 -0700 |
| commit | d0719f9167d9f38c7d12aab4e7f06b54e63161e1 (patch) | |
| tree | 7ccd94209bc810372ef49c9e63a5776646087a43 /tests/test_unidecode.py | |
| parent | bb723e2ddb07c943c692ec08087c5b70fcdc4632 (diff) | |
| download | unidecode-d0719f9167d9f38c7d12aab4e7f06b54e63161e1.tar.gz | |
Drop support for EOL Python 2.6 & 3.3
Python 2.6 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
and 3.3 on 2017-09-29. For additional details on supported Python
versions, see:
https://devguide.python.org/#status-of-python-branches
Removing support for EOL Pythons will reduce testing and maintenance
resources.
Using pypinfo, here are the download statistics for Unidecode over the
last 30 days, showing minimal 3.3 & 2.6 installs.
$ pypinfo --percent unidecode pyversion
| python_version | percent | download_count |
| -------------- | ------- | -------------- |
| 2.7 | 66.07% | 244,263 |
| 3.6 | 19.69% | 72,777 |
| 3.5 | 8.27% | 30,585 |
| 3.4 | 5.59% | 20,663 |
| 3.7 | 0.29% | 1,062 |
| 2.6 | 0.06% | 210 |
| 3.8 | 0.02% | 72 |
| 3.3 | 0.01% | 44 |
| 3.2 | 0.00% | 6 |
| None | 0.00% | 2 |
Diffstat (limited to 'tests/test_unidecode.py')
| -rw-r--r-- | tests/test_unidecode.py | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/tests/test_unidecode.py b/tests/test_unidecode.py index 57af584..3ae23e9 100644 --- a/tests/test_unidecode.py +++ b/tests/test_unidecode.py @@ -5,18 +5,6 @@ import sys from unidecode import unidecode, unidecode_expect_ascii, unidecode_expect_nonascii import warnings -# workaround for Python < 2.7 -if not hasattr(unittest, 'skipIf'): - def skipIf(condition, reason): - def d(f): - def df(*args): - if condition: - print("skipped %r" % (reason,)) - else: - return f(*args) - return df - return d - unittest.skipIf = skipIf class WarningLogger: def __init__(self): |
