Author: Armin Rigo <ar...@tunes.org> Branch: Changeset: r68879:a8d569db033c Date: 2014-01-23 21:49 +0100 http://bitbucket.org/pypy/pypy/changeset/a8d569db033c/
Log: Fix for test_wide_unicode_in_source on wide-unicode hosts diff --git a/pypy/interpreter/pyparser/test/test_parsestring.py b/pypy/interpreter/pyparser/test/test_parsestring.py --- a/pypy/interpreter/pyparser/test/test_parsestring.py +++ b/pypy/interpreter/pyparser/test/test_parsestring.py @@ -2,9 +2,9 @@ import py, sys class TestParsetring: - def parse_and_compare(self, literal, value): + def parse_and_compare(self, literal, value, encoding=None): space = self.space - w_ret = parsestring.parsestr(space, None, literal) + w_ret = parsestring.parsestr(space, encoding, literal) if isinstance(value, str): assert space.type(w_ret) == space.w_str assert space.str_w(w_ret) == value _______________________________________________ pypy-commit mailing list pypy-commit@python.org https://mail.python.org/mailman/listinfo/pypy-commit