[pypy-svn] r11534 - pypy/dist/lib-python-2.3.4/test/result

arigo at codespeak.net arigo at codespeak.net
Wed Apr 27 17:57:21 CEST 2005


Author: arigo
Date: Wed Apr 27 17:57:21 2005
New Revision: 11534

Modified:
   pypy/dist/lib-python-2.3.4/test/result/quickreport.py
Log:
- fixed this Python2.4-ism, sorry.
- list 'thread' as an expected missing module for now.


Modified: pypy/dist/lib-python-2.3.4/test/result/quickreport.py
==============================================================================
--- pypy/dist/lib-python-2.3.4/test/result/quickreport.py	(original)
+++ pypy/dist/lib-python-2.3.4/test/result/quickreport.py	Wed Apr 27 17:57:21 2005
@@ -29,6 +29,9 @@
     _csv           linuxaudiodev  pyexpat      struct
     _curses_panel  _locale        _random      syslog
     _curses        math           readline     termios
+
+    thread
+
 """.split()
 
 
@@ -84,7 +87,7 @@
 
 
 files = mydir.listdir("*.txt")
-files.sort(key=lambda x: str(x).lower())
+files.sort(lambda x,y: cmp(str(x).lower(), str(y).lower()))
 for fn in files:
     result = Result()
     try:



More information about the Pypy-commit mailing list