diff options
author | Arfrever Frehtes Taifersar Arahesis <Arfrever.FTA@GMail.Com> | 2014-04-07 13:58:29 +0200 |
---|---|---|
committer | Arfrever Frehtes Taifersar Arahesis <Arfrever.FTA@GMail.Com> | 2014-04-07 13:58:29 +0200 |
commit | 9937d7d8f536c32c2f38e3dc665f19e70ad0a537 (patch) | |
tree | cbbb8aaccab781d631737bb7bb49c4b2b3180d07 | |
parent | 6801265563d5dd46359989c22355a61357ea5db1 (diff) | |
download | external_python_setuptools-9937d7d8f536c32c2f38e3dc665f19e70ad0a537.tar.gz external_python_setuptools-9937d7d8f536c32c2f38e3dc665f19e70ad0a537.tar.bz2 external_python_setuptools-9937d7d8f536c32c2f38e3dc665f19e70ad0a537.zip |
Issue #183: Really fix test command with Python 3.1.3.4.3
-rw-r--r-- | CHANGES.txt | 6 | ||||
-rw-r--r-- | setuptools/py31compat.py | 4 |
2 files changed, 8 insertions, 2 deletions
diff --git a/CHANGES.txt b/CHANGES.txt index 5980f7af..512127b3 100644 --- a/CHANGES.txt +++ b/CHANGES.txt @@ -3,6 +3,12 @@ CHANGES ======= ----- +3.4.3 +----- + +* Issue #183: Really fix test command with Python 3.1. + +----- 3.4.2 ----- diff --git a/setuptools/py31compat.py b/setuptools/py31compat.py index 6e765582..c487ac04 100644 --- a/setuptools/py31compat.py +++ b/setuptools/py31compat.py @@ -44,9 +44,9 @@ unittest_main = unittest.main _PY31 = (3, 1) <= sys.version_info[:2] < (3, 2) if _PY31: - # on Python 3.1, translate testRunner==None to defaultTestLoader + # on Python 3.1, translate testRunner==None to TextTestRunner # for compatibility with Python 2.6, 2.7, and 3.2+ def unittest_main(*args, **kwargs): if 'testRunner' in kwargs and kwargs['testRunner'] is None: - kwargs['testRunner'] = unittest.defaultTestLoader + kwargs['testRunner'] = unittest.TextTestRunner return unittest.main(*args, **kwargs) |