summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Howitz <mh@gocept.com>2019-06-27 07:57:52 +0200
committerGitHub <noreply@github.com>2019-06-27 07:57:52 +0200
commit9877b37bc35a0ec90a27a610604369e42253265f (patch)
tree57288408ecba0638b0279361d95875b2be0c3a00
parent168b9a2680a4a1bdfe611e13853df5f309f96c58 (diff)
downloadzope-tales-9877b37bc35a0ec90a27a610604369e42253265f.tar.gz
Mark Python 2 compat code.
-rw-r--r--src/zope/tales/tests/test_expressions.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/zope/tales/tests/test_expressions.py b/src/zope/tales/tests/test_expressions.py
index c433e5c..1996445 100644
--- a/src/zope/tales/tests/test_expressions.py
+++ b/src/zope/tales/tests/test_expressions.py
@@ -23,7 +23,7 @@ from zope.tales.tales import Undefined
from zope.interface import implementer
import zope.tales.tests
-text_type = str if str is not bytes else unicode # noqa
+text_type = str if str is not bytes else unicode # noqa PY2
class Data(object):