[pypy-svn] r15316 - pypy/dist/pypy/interpreter/pyparser/test

pedronis at codespeak.net pedronis at codespeak.net
Fri Jul 29 02:59:00 CEST 2005


Author: pedronis
Date: Fri Jul 29 02:58:58 2005
New Revision: 15316

Modified:
   pypy/dist/pypy/interpreter/pyparser/test/test_parsestring.py
Log:
reformulate the test



Modified: pypy/dist/pypy/interpreter/pyparser/test/test_parsestring.py
==============================================================================
--- pypy/dist/pypy/interpreter/pyparser/test/test_parsestring.py	(original)
+++ pypy/dist/pypy/interpreter/pyparser/test/test_parsestring.py	Fri Jul 29 02:58:58 2005
@@ -39,4 +39,4 @@
         s = s.decode("koi8-u").encode("utf8")
         w_ret = parsestring.parsestr(self.space, 'koi8-u', s)
         ret = space.unwrap(w_ret)
-        assert ret == u'\u2502'
+        assert ret == eval("# -*- coding: koi8-u -*-\nu'\x81'") 



More information about the Pypy-commit mailing list