diff options
author | Piet Delport <pjdelport@gmail.com> | 2016-01-04 15:58:50 +0200 |
---|---|---|
committer | Piet Delport <pjdelport@gmail.com> | 2016-01-04 15:58:50 +0200 |
commit | dae46b27f263b56f629168bb006b9c31f0f591cc (patch) | |
tree | 1cd4e59cfa9262fef7020ca10357b98f37c79e04 /tox | |
parent | 71e8e63be32199e758f5ff2a332adf0905ffdb7c (diff) | |
download | tox-git-dae46b27f263b56f629168bb006b9c31f0f591cc.tar.gz |
Mark guarded "unicode" reference with noqa
--HG--
branch : fix-flakes
Diffstat (limited to 'tox')
-rw-r--r-- | tox/_quickstart.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tox/_quickstart.py b/tox/_quickstart.py index a397cb11..59ee48eb 100644 --- a/tox/_quickstart.py +++ b/tox/_quickstart.py @@ -119,7 +119,7 @@ def do_prompt(d, key, text, default=None, validator=nonempty): x = term_input(prompt) if default and not x: x = default - if sys.version_info < (3, ) and not isinstance(x, unicode): + if sys.version_info < (3, ) and not isinstance(x, unicode): # noqa # for Python 2.x, try to get a Unicode string out of it if x.decode('ascii', 'replace').encode('ascii', 'replace') != x: if TERM_ENCODING: |