]> granicus.if.org Git - clang/commitdiff
Revert prev commit, we have much bigger problems because 2.3 is missing
authorDaniel Dunbar <daniel@zuster.org>
Thu, 2 Jul 2009 23:58:07 +0000 (23:58 +0000)
committerDaniel Dunbar <daniel@zuster.org>
Thu, 2 Jul 2009 23:58:07 +0000 (23:58 +0000)
the subprocess module.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@74738 91177308-0d34-0410-b5e6-96231b3b80d8

utils/test/TestRunner.py

index 1f302372f6096d27cb42412c35aaa060b4235be7..9020622350dc8469faacc08832013f9e6fa4d9b1 100755 (executable)
@@ -36,9 +36,9 @@ class TestStatus:
     Invalid = 5
 
     kNames = ['Pass','XFail','Fail','XPass','NoRunLine','Invalid']
+    @staticmethod
     def getName(code): 
         return TestStatus.kNames[code]
-    getName = staticmethod(getName)
 
 def mkdir_p(path):
     if not path: