[pypy-svn] r50970 - pypy/dist/pypy/jit/codegen/i386/test
fijal at codespeak.net
fijal at codespeak.net
Thu Jan 24 16:54:26 CET 2008
Author: fijal
Date: Thu Jan 24 16:54:24 2008
New Revision: 50970
Modified:
pypy/dist/pypy/jit/codegen/i386/test/test_auto_encoding.py
Log:
I still don't understand why it's failing, will look later, but don't
raise string exception anyway/
Modified: pypy/dist/pypy/jit/codegen/i386/test/test_auto_encoding.py
==============================================================================
--- pypy/dist/pypy/jit/codegen/i386/test/test_auto_encoding.py (original)
+++ pypy/dist/pypy/jit/codegen/i386/test/test_auto_encoding.py Thu Jan 24 16:54:24 2008
@@ -158,7 +158,7 @@
try:
f = open(FILENAME, 'rb')
except IOError:
- raise "Assembler error"
+ raise Exception("Assembler error")
data = f.read()
f.close()
## os.unlink(FILENAME)
More information about the Pypy-commit
mailing list