Author: Manuel Jacob
Branch: refactor-translator
Changeset: r61789:45b3832eecc2
Date: 2013-02-25 21:26 +0100
http://bitbucket.org/pypy/pypy/changeset/45b3832eecc2/
Log: Don't mask AttributeErrors here.
diff --git a/rpython/translator/c/test/test_genc.py
b/rpython/translator/c/test/test_genc.py
--- a/rpython/translator/c/test/test_genc.py
+++ b/rpython/translator/c/test/test_genc.py
@@ -103,19 +103,13 @@
t.disable(["backendopt_lltype"])
t.driver.config.translation.countmallocs = True
t.annotate()
- try:
- if py.test.config.option.view:
- t.view()
- except AttributeError:
- pass
+ if py.test.config.option.view:
+ t.view()
t.rtype()
if backendopt:
t.backendopt()
- try:
- if py.test.config.option.view:
- t.view()
- except AttributeError:
- pass
+ if py.test.config.option.view:
+ t.view()
t.compile()
ll_res = graphof(t.context, fn).getreturnvar().concretetype
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit