minor cleanup
authorStefan Behnel <stefan_ml@behnel.de>
Sat, 12 Oct 2013 05:14:14 +0000 (07:14 +0200)
committerStefan Behnel <stefan_ml@behnel.de>
Sat, 12 Oct 2013 05:14:14 +0000 (07:14 +0200)
tests/run/pyarray.pyx

index 6b85dcf..970e35e 100644 (file)
@@ -155,7 +155,7 @@ def test_extend():
     except TypeError:
         pass
     else:
-        raise AssertionError('tried to extend with an incompatible array type')
+        assert False, 'extending incompatible array types did not raise'
 
 def test_likes(a):
     """