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

Unified Diff: Tools/Scripts/webkitpy/thirdparty/unittest2/loader.py

Issue 20652002: Fix trailing whitespace in scripts and misc. files (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Don't change literal diff. Created 7 years, 5 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
Index: Tools/Scripts/webkitpy/thirdparty/unittest2/loader.py
diff --git a/Tools/Scripts/webkitpy/thirdparty/unittest2/loader.py b/Tools/Scripts/webkitpy/thirdparty/unittest2/loader.py
index 8ec2eadd3163ad6cd4eb178967793a0c1018d332..690df41f8e14bc0745bd17326fd98f1de601b062 100644
--- a/Tools/Scripts/webkitpy/thirdparty/unittest2/loader.py
+++ b/Tools/Scripts/webkitpy/thirdparty/unittest2/loader.py
@@ -53,7 +53,7 @@ def _make_failed_test(classname, methodname, exception, suiteClass):
attrs = {methodname: testFailure}
TestClass = type(classname, (case.TestCase,), attrs)
return suiteClass((TestClass(methodname),))
-
+
class TestLoader(unittest.TestLoader):
"""
@@ -241,7 +241,7 @@ class TestLoader(unittest.TestLoader):
def _match_path(self, path, full_path, pattern):
# override this method to use alternative matching strategy
return fnmatch(path, pattern)
-
+
def _find_tests(self, start_dir, pattern):
"""Used by discovery. Yields test suites it loads."""
paths = os.listdir(start_dir)
« no previous file with comments | « Tools/Scripts/webkitpy/thirdparty/unittest2/compatibility.py ('k') | Tools/Scripts/webkitpy/thirdparty/unittest2/main.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698