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

cfbolz at codespeak.net cfbolz at codespeak.net
Wed Jan 2 16:09:55 CET 2008


Author: cfbolz
Date: Wed Jan  2 16:09:53 2008
New Revision: 50259

Modified:
   pypy/dist/pypy/interpreter/pyparser/test/test_pytokenizer.py
Log:
the assert interpretation of py.test is way better than this`


Modified: pypy/dist/pypy/interpreter/pyparser/test/test_pytokenizer.py
==============================================================================
--- pypy/dist/pypy/interpreter/pyparser/test/test_pytokenizer.py	(original)
+++ pypy/dist/pypy/interpreter/pyparser/test/test_pytokenizer.py	Wed Jan  2 16:09:53 2008
@@ -107,7 +107,7 @@
         ]
     for comment, encoding in checks:
         res = match_encoding_declaration(comment)
-        assert res == encoding, "Failed on (%s), %s != %s" % (comment, res, encoding)
+        assert res == encoding
 
 
 def test_check_for_enconding():



More information about the Pypy-commit mailing list