Py3 test fix
authorStefan Behnel <scoder@users.berlios.de>
Sat, 13 Mar 2010 15:14:00 +0000 (16:14 +0100)
committerStefan Behnel <scoder@users.berlios.de>
Sat, 13 Mar 2010 15:14:00 +0000 (16:14 +0100)
tests/run/extpropertyref.pyx

index f2f73af451922ab2628900c908ba0b27c45520be..c015454da692a9f83a75279c99ba7a69616396ca 100644 (file)
@@ -12,8 +12,14 @@ def tomato():
     """
     >>> tomato()
     42
-    >>> sorted(__test__.keys())
-    [u'Spam.eggs.__get__ (line 5)', u'tomato (line 11)']
+
+    >>> lines = __test__.keys()
+    >>> len(lines)
+    2
+    >>> 'Spam.eggs.__get__ (line 5)' in lines
+    True
+    >>> 'tomato (line 11)' in lines
+    True
     """
     cdef Spam spam
     cdef object lettuce