test fix
authorStefan Behnel <scoder@users.berlios.de>
Fri, 25 Apr 2008 15:58:12 +0000 (17:58 +0200)
committerStefan Behnel <scoder@users.berlios.de>
Fri, 25 Apr 2008 15:58:12 +0000 (17:58 +0200)
tests/run/addop.pyx

index 0bf19e5ccfc38d7be39e7ccab7b644fb87a5563e..739c214d6665e27b525826f8f2f282efdc85eef5 100644 (file)
@@ -1,10 +1,11 @@
 __doc__ = """
-    >>> 
+    >>> f()
+    (30, 22)
 """
 
 def f():
     cdef int int1, int2, int3
-    cdef char *ptr1, *ptr2, *ptr3
+    cdef char *ptr1, *ptr2 = "test", *ptr3 = "toast"
     int2 = 10
     int3 = 20
     obj1 = 1