Fixed no_gc_clear test for Python 3.
authorTorsten Landschoff <torsten.landschoff@dynamore.de>
Thu, 1 Aug 2013 23:48:31 +0000 (01:48 +0200)
committerTorsten Landschoff <torsten.landschoff@dynamore.de>
Thu, 1 Aug 2013 23:48:31 +0000 (01:48 +0200)
tests/run/no_gc_clear.pyx

index d0939a2..da8348f 100644 (file)
@@ -25,8 +25,8 @@ cdef class DisableTpClear:
 
     >>> uut = DisableTpClear()
     >>> uut.call_tp_clear()
-    >>> type(uut.requires_cleanup)
-    <type 'list'>
+    >>> type(uut.requires_cleanup) == list
+    True
     >>> del uut
     """