[4.6] fixes for python4

This commit is contained in:
Anthony Sottile
2019-08-29 09:48:58 -07:00
parent 117f52dcf3
commit aa79b1c00c
8 changed files with 10 additions and 9 deletions
+1 -1
View File
@@ -223,7 +223,7 @@ class TestGeneralUsage(object):
"conftest.py:2: in foo",
" import qwerty",
"E {}: No module named {q}qwerty{q}".format(
exc_name, q="'" if six.PY3 else ""
exc_name, q="" if six.PY2 else "'"
),
]
)