From: Stefan Behnel Date: Sat, 13 Mar 2010 15:14:00 +0000 (+0100) Subject: Py3 test fix X-Git-Tag: 0.13.beta0~303 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=eca5b4834271f5eca24026de4caab382c8771bf2;p=cython.git Py3 test fix --- 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