[pypy-svn] r78422 - pypy/branch/fast-forward/pypy/interpreter/pyparser/test
afa at codespeak.net
afa at codespeak.net
Thu Oct 28 23:05:53 CEST 2010
Author: afa
Date: Thu Oct 28 23:05:52 2010
New Revision: 78422
Modified:
pypy/branch/fast-forward/pypy/interpreter/pyparser/test/test_pyparse.py
Log:
Fix tests after I changed the error message
Modified: pypy/branch/fast-forward/pypy/interpreter/pyparser/test/test_pyparse.py
==============================================================================
--- pypy/branch/fast-forward/pypy/interpreter/pyparser/test/test_pyparse.py (original)
+++ pypy/branch/fast-forward/pypy/interpreter/pyparser/test/test_pyparse.py Thu Oct 28 23:05:52 2010
@@ -69,9 +69,9 @@
assert exc.offset == 5
assert exc.text.startswith("name another for")
exc = py.test.raises(SyntaxError, parse, "\"blah").value
- assert exc.msg == "EOL while scanning single-quoted string"
+ assert exc.msg == "EOL while scanning string literal"
exc = py.test.raises(SyntaxError, parse, "'''\n").value
- assert exc.msg == "EOF while scanning triple-quoted string"
+ assert exc.msg == "EOF while scanning triple-quoted string literal"
for input in ("())", "(()", "((", "))"):
py.test.raises(SyntaxError, parse, input)
More information about the Pypy-commit
mailing list