diff options
| author | Tomaz Solc <tomaz.solc@tablix.org> | 2021-01-08 15:51:02 +0100 |
|---|---|---|
| committer | Tomaz Solc <tomaz.solc@tablix.org> | 2021-01-08 15:51:02 +0100 |
| commit | bcf9fab37e5ebd5181dc0f5c9b5fcc359e49d21c (patch) | |
| tree | a6ad40c2d8a3aa354d8f7e462e73a606f6ccaf35 /tests | |
| parent | 21f7afdc8eac97c4279501306adf8b3f0ece4e40 (diff) | |
| download | unidecode-bcf9fab37e5ebd5181dc0f5c9b5fcc359e49d21c.tar.gz | |
Convert examples in README to Python 3 syntax.
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/test_readme.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test_readme.py b/tests/test_readme.py index dbf757f..a476b3c 100644 --- a/tests/test_readme.py +++ b/tests/test_readme.py @@ -2,7 +2,7 @@ import doctest import sys def additional_tests(): - if sys.version_info[0] < 3 and sys.maxunicode >= 0x10000: + if sys.version_info[0] >= 3 and sys.maxunicode >= 0x10000: return doctest.DocFileSuite("../README.rst") else: return doctest.DocFileSuite() |
