From 41cd138f2eb82fd491f504caebf3a83d38822e84 Mon Sep 17 00:00:00 2001 From: guido Date: Fri, 14 Mar 2008 12:08:21 +0100 Subject: [PATCH] [svn r52481] Python2.3 has no 'sorted()' yet. --HG-- branch : trunk --- py/apigen/testing/test_apigen_functional.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/py/apigen/testing/test_apigen_functional.py b/py/apigen/testing/test_apigen_functional.py index 455410738..c4eee18ee 100644 --- a/py/apigen/testing/test_apigen_functional.py +++ b/py/apigen/testing/test_apigen_functional.py @@ -5,7 +5,7 @@ import py from py.__.apigen import apigen -py.test.skip("Apigen functionality temporarily disabled") +#py.test.skip("Apigen functionality temporarily disabled") def setup_module(mod): if py.std.sys.platform == "win32": @@ -117,7 +117,9 @@ def test_get_documentable_items(): pkgname, documentable = apigen.get_documentable_items_pkgdir( fs_root.join(package_name)) assert pkgname == 'pak' - assert sorted(documentable.keys()) == [ + keys = documentable.keys() + keys.sort() + assert keys == [ 'main.SomeTestClass', 'main.SomeTestSubClass', 'main.func', 'main.sub.func', 'somenamespace.baz', 'somenamespace.foo']