summaryrefslogtreecommitdiffstats
path: root/scripts/external_libs/nose-1.3.4/nose/__main__.py
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/external_libs/nose-1.3.4/nose/__main__.py')
-rwxr-xr-xscripts/external_libs/nose-1.3.4/nose/__main__.py8
1 files changed, 8 insertions, 0 deletions
diff --git a/scripts/external_libs/nose-1.3.4/nose/__main__.py b/scripts/external_libs/nose-1.3.4/nose/__main__.py
new file mode 100755
index 00000000..b402d9df
--- /dev/null
+++ b/scripts/external_libs/nose-1.3.4/nose/__main__.py
@@ -0,0 +1,8 @@
+import sys
+
+from nose.core import run_exit
+
+if sys.argv[0].endswith('__main__.py'):
+ sys.argv[0] = '%s -m nose' % sys.executable
+
+run_exit()