[Pydev-cvs] org.python.pydev.debug/pysrc runfiles.py,1.13,1.14
Brought to you by:
fabioz
From: Fabio Z. <fa...@us...> - 2007-05-27 13:26:03
|
Update of /cvsroot/pydev/org.python.pydev.debug/pysrc In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv17957/pysrc Modified Files: runfiles.py Log Message: Made compatible with python 2.5 Index: runfiles.py =================================================================== RCS file: /cvsroot/pydev/org.python.pydev.debug/pysrc/runfiles.py,v retrieving revision 1.13 retrieving revision 1.14 diff -C2 -d -r1.13 -r1.14 *** runfiles.py 31 Jan 2007 10:57:35 -0000 1.13 --- runfiles.py 27 May 2007 13:26:03 -0000 1.14 *************** *** 154,158 **** test_cases = [] for tc in test_objs: ! if self.__match(self.test_filter, tc._TestCase__testMethodName): test_cases.append( tc ) return test_cases --- 154,164 ---- test_cases = [] for tc in test_objs: ! try: ! testMethodName = tc._TestCase__testMethodName ! except AttributeError: ! #changed in python 2.5 ! testMethodName = tc._testMethodName ! ! if self.__match(self.test_filter, testMethodName): test_cases.append( tc ) return test_cases |