diff options
| author | Tomaz Solc <tomaz.solc@tablix.org> | 2015-05-14 12:29:28 +0200 |
|---|---|---|
| committer | Tomaz Solc <tomaz.solc@tablix.org> | 2015-05-14 12:29:28 +0200 |
| commit | bce06fe0812c0dc717b09f772548e850f008c107 (patch) | |
| tree | 5886bfd892d55a43e54b6eed95a4be2feddacdd2 /tests | |
| parent | dd27bf7dc6eab2dd3ab5f1d9470bc6abd5d62f41 (diff) | |
| download | unidecode-bce06fe0812c0dc717b09f772548e850f008c107.tar.gz | |
Only doctest README with Python 2.x
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/test_readme.py | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/tests/test_readme.py b/tests/test_readme.py index 652f357..9213559 100644 --- a/tests/test_readme.py +++ b/tests/test_readme.py @@ -1,4 +1,8 @@ import doctest +import sys def additional_tests(): - return doctest.DocFileSuite("../README.rst") + if sys.version_info[0] < 3: + return doctest.DocFileSuite("../README.rst") + else: + return doctest.DocFileSuite() |
