Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(88)

Unified Diff: chrome/test/webdriver/test/py_unittest_util.py

Issue 11236062: Make chromedriver test suites compatible with python2.7 (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Make chromedriver test suites compatible with python2.7 and add my name in AUTHORS file Created 8 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « AUTHORS ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/test/webdriver/test/py_unittest_util.py
diff --git a/chrome/test/webdriver/test/py_unittest_util.py b/chrome/test/webdriver/test/py_unittest_util.py
index d650c781299771bf89c2b7e028d3a502e66b334b..dba07d786fd15749029169a6a4472b8212a1b7c0 100644
--- a/chrome/test/webdriver/test/py_unittest_util.py
+++ b/chrome/test/webdriver/test/py_unittest_util.py
@@ -29,7 +29,9 @@ class _GTestTextTestResult(unittest._TextTestResult):
if sys.version_info[:2] <= (2, 4):
return '%s.%s' % (unittest._strclass(test.__class__),
test._TestCase__testMethodName)
- return '%s.%s' % (unittest._strclass(test.__class__), test._testMethodName)
+ return '%s.%s.%s' % (test.__class__.__module__,
+ test.__class__.__name__,
+ test._testMethodName)
def getDescription(self, test):
return '%s: "%s"' % (self._GetTestURI(test), test.shortDescription())
« no previous file with comments | « AUTHORS ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698