[pypy-commit] pypy py3k: fix
pjenvey
noreply at buildbot.pypy.org
Sun Feb 24 20:22:31 CET 2013
Author: Philip Jenvey <pjenvey at underboss.org>
Branch: py3k
Changeset: r61743:b72e78dce91e
Date: 2013-02-24 10:58 -0800
http://bitbucket.org/pypy/pypy/changeset/b72e78dce91e/
Log: fix
diff --git a/pypy/interpreter/astcompiler/test/test_astbuilder.py b/pypy/interpreter/astcompiler/test/test_astbuilder.py
--- a/pypy/interpreter/astcompiler/test/test_astbuilder.py
+++ b/pypy/interpreter/astcompiler/test/test_astbuilder.py
@@ -1146,7 +1146,6 @@
assert space.eq_w(s.s, space.wrap(u'Ç'))
def test_string_bug(self):
- py.test.py3k_skip('fixme')
space = self.space
source = '# -*- encoding: utf8 -*-\nstuff = "x \xc3\xa9 \\n"\n'
info = pyparse.CompileInfo("<test>", "exec")
@@ -1154,8 +1153,7 @@
assert info.encoding == "utf8"
s = ast_from_node(space, tree, info).body[0].value
assert isinstance(s, ast.Str)
- expected = ['x', ' ', chr(0xc3), chr(0xa9), ' ', '\n']
- assert space.eq_w(s.s, space.wrap(''.join(expected)))
+ assert space.eq_w(s.s, space.wrap(u'x \xe9 \n'))
def test_number(self):
def get_num(s):
More information about the pypy-commit
mailing list