9 lines
144 B
Python
9 lines
144 B
Python
|
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()
|