improve error output in test case
authorStefan Behnel <stefan_ml@behnel.de>
Wed, 26 Dec 2012 11:25:34 +0000 (12:25 +0100)
committerStefan Behnel <stefan_ml@behnel.de>
Wed, 26 Dec 2012 11:25:34 +0000 (12:25 +0100)
tests/run/cross_closure_type_inference.pyx

index 2b7ef4a..0e4fafd 100644 (file)
@@ -14,7 +14,7 @@ def test_outer_inner_double():
         nonlocal x
         x = 2.0
     inner()
-    assert x == 2.0
+    assert x == 2.0, str(x)
     return cython.typeof(x)