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

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

Issue 18418010: Check in the thirdparty libs needed for webkitpy. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: 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/__main__.py
diff --git a/Tools/Scripts/webkitpy/thirdparty/unittest2/__main__.py b/Tools/Scripts/webkitpy/thirdparty/unittest2/__main__.py
new file mode 100644
index 0000000000000000000000000000000000000000..04ed982df0fbeb9f9b2c3bb918d2af9749588166
--- /dev/null
+++ b/Tools/Scripts/webkitpy/thirdparty/unittest2/__main__.py
@@ -0,0 +1,10 @@
+"""Main entry point"""
+
+import sys
+if sys.argv[0].endswith("__main__.py"):
+ sys.argv[0] = "unittest2"
+
+__unittest = True
+
+from unittest2.main import main_
+main_()
« no previous file with comments | « Tools/Scripts/webkitpy/thirdparty/unittest2/__init__.py ('k') | Tools/Scripts/webkitpy/thirdparty/unittest2/case.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698