Source

nose2 / nose2 / main.py

Full commit
import os
import sys

from unittest2.main import TestProgram, USAGE_AS_MAIN

from . import plugins


def main_():
    sys.path.insert(0, os.getcwd())
    TestProgram.USAGE = USAGE_AS_MAIN
    TestProgram(module=None, config=plugins.configFile())