add coding for py3

This commit is contained in:
Benjamin Peterson 2010-11-08 16:48:15 -06:00
parent 5bec71edc4
commit d44ff035d0
1 changed files with 1 additions and 0 deletions

View File

@ -222,6 +222,7 @@ class TestPython:
def test_unicode(self, testdir):
value = 'hx\xc4\x85\xc4\x87\n'
testdir.makepyfile("""
# coding: utf-8
def test_hello():
print (%r)
assert 0