From eca5b4834271f5eca24026de4caab382c8771bf2 Mon Sep 17 00:00:00 2001 From: Stefan Behnel Date: Sat, 13 Mar 2010 16:14:00 +0100 Subject: [PATCH] Py3 test fix --- tests/run/extpropertyref.pyx | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/tests/run/extpropertyref.pyx b/tests/run/extpropertyref.pyx index f2f73af4..c015454d 100644 --- a/tests/run/extpropertyref.pyx +++ b/tests/run/extpropertyref.pyx @@ -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 -- 2.26.2