def get_runner(settings_module):
os.environ['<STR_LIT>'] = settings_module<EOL>import django<EOL>from django.test.utils import get_runner<EOL>from django.conf import settings<EOL>if hasattr(django, '<STR_LIT>'):<EOL><INDENT>django.setup()<EOL><DEDENT>return get_runner(settings)<EOL>
Asks Django for the TestRunner defined in settings or the default one.