Author: Alexander Hesse <[email protected]>
Branch: split-rpython
Changeset: r60171:1b9bd9092295
Date: 2013-01-18 13:57 +0100
http://bitbucket.org/pypy/pypy/changeset/1b9bd9092295/

Log:    Fixed test

diff --git a/rpython/translator/c/test/test_standalone.py 
b/rpython/translator/c/test/test_standalone.py
--- a/rpython/translator/c/test/test_standalone.py
+++ b/rpython/translator/c/test/test_standalone.py
@@ -35,7 +35,7 @@
         else:
             cbuilder.generate_source()
         cbuilder.compile()
-        if option.view:
+        if option is not None and option.view:
             t.view()
         return t, cbuilder
 
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to