Author: Philip Jenvey <[email protected]>
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'&#199;'))
  
     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):
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to