add coding for py3
This commit is contained in:
parent
5bec71edc4
commit
d44ff035d0
|
@ -222,6 +222,7 @@ class TestPython:
|
||||||
def test_unicode(self, testdir):
|
def test_unicode(self, testdir):
|
||||||
value = 'hx\xc4\x85\xc4\x87\n'
|
value = 'hx\xc4\x85\xc4\x87\n'
|
||||||
testdir.makepyfile("""
|
testdir.makepyfile("""
|
||||||
|
# coding: utf-8
|
||||||
def test_hello():
|
def test_hello():
|
||||||
print (%r)
|
print (%r)
|
||||||
assert 0
|
assert 0
|
||||||
|
|
Loading…
Reference in New Issue