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 | b9e5e7fe4f721a1705b02fc16e891a451ac298a2 (patch) | |
tree | 5a0185e86f73bde7b44049cbd0bb1127ee173d47 | |
parent | deaacda2f7691916ff9fb703536b012d6d546208 (diff) | |
download | tox-b9e5e7fe4f721a1705b02fc16e891a451ac298a2.tar.gz |
Mark guarded "unicode" reference with noqa
-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 a397cb1..59ee48e 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: |