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

Side by Side Diff: Tools/Scripts/webkitpy/thirdparty/unittest2/collector.py

Issue 478553002: Remove thirdparty/unittest2 from webkitpy and require python2.7. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 4 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
(Empty)
1 import os
2 import sys
3 from unittest2.loader import defaultTestLoader
4
5 def collector():
6 # import __main__ triggers code re-execution
7 __main__ = sys.modules['__main__']
8 setupDir = os.path.abspath(os.path.dirname(__main__.__file__))
9 return defaultTestLoader.discover(setupDir)
OLDNEW
« no previous file with comments | « Tools/Scripts/webkitpy/thirdparty/unittest2/case.py ('k') | Tools/Scripts/webkitpy/thirdparty/unittest2/compatibility.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698