Commit 945afb2c authored by Denis Bilenko's avatar Denis Bilenko

greentest: fix TestCase.testname to work on 2.4

parent ceb8d60a
......@@ -79,7 +79,7 @@ class TestCase(unittest.TestCase):
@property
def testname(self):
return getattr(self, '_testMethodName', '') or getattr(self, '__testMethodName')
return getattr(self, '_testMethodName', '') or getattr(self, '_TestCase__testMethodName')
def find_command(command):
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment