def pytest_configure():
    from django.conf import settings

    settings.configure()

    try:
        import django
        django.setup()
    except __HOLE__:
        pass
dataset/ETHPy150Open tomchristie/django-rest-marshmallow/tests/conftest.py/pytest_configure