removed 'complex' type test that depends on 'cdef complex' refering to the Python...
authorStefan Behnel <scoder@users.berlios.de>
Fri, 3 Dec 2010 20:18:08 +0000 (21:18 +0100)
committerStefan Behnel <scoder@users.berlios.de>
Fri, 3 Dec 2010 20:18:08 +0000 (21:18 +0100)
tests/run/builtincomplex.pyx [deleted file]

diff --git a/tests/run/builtincomplex.pyx b/tests/run/builtincomplex.pyx
deleted file mode 100644 (file)
index 80aef59..0000000
+++ /dev/null
@@ -1,32 +0,0 @@
-
-cimport cython
-
-@cython.test_assert_path_exists('//TupleNode//CoerceToPyTypeNode//AttributeNode')
-def complex_attributes():
-    """
-    >>> complex_attributes()
-    (1.0, 2.0)
-    """
-    cdef complex c = 1+2j
-    return (c.real, c.imag)
-
-@cython.test_assert_path_exists('//TupleNode//CoerceToPyTypeNode//AttributeNode')
-def complex_attributes_assign():
-    """
-    >>> complex_attributes_assign()
-    (10.0, 20.0)
-    """
-    cdef complex c = 1+2j
-    c.real, c.imag = 10, 20
-    return (c.real, c.imag)
-
-@cython.test_assert_path_exists('//TupleNode//CoerceToPyTypeNode//AttributeNode')
-def complex_cstruct_assign():
-    """
-    >>> complex_cstruct_assign()
-    (10.0, 20.0)
-    """
-    cdef complex c = 1+2j
-    cval = &c.cval
-    cval.real, cval.imag = 10, 20
-    return (c.real, c.imag)