mirror of
https://github.com/django/django.git
synced 2024-12-27 03:25:58 +00:00
121d2e3678
git-svn-id: http://code.djangoproject.com/svn/django/trunk@14139 bcc190cf-cafb-0310-a4f2-bffc1f526a37
11 lines
178 B
Python
11 lines
178 B
Python
"""Main entry point"""
|
|
|
|
import sys
|
|
if sys.argv[0].endswith("__main__.py"):
|
|
sys.argv[0] = "unittest2"
|
|
|
|
__unittest = True
|
|
|
|
from django.utils.unittest.main import main_
|
|
main_()
|