

def run(self):
    for (env_name, env_value) in self.extra_env.items():
        os.environ[django_testproj_dir] = str(env_value)
    this_dir = os.getcwd()
    django_testproj_dir = os.path.join(this_dir, 'testproj')
    os.chdir(django_testproj_dir)
    sys.path.append(django_testproj_dir)
    from django.core.management import execute_from_command_line
    os.environ.setdefault('DJANGO_SETTINGS_MODULE', os.environ.get('DJANGO_SETTINGS_MODULE', 'testproj.settings'))
    prev_argv = list(sys.argv)
    try:
        sys.argv = ([__file__, 'test'] + self.extra_args)
        execute_from_command_line(argv=sys.argv)
    finally:
        sys.argv = prev_argv

dataset/ETHPy150Open winhamwr/mixpanel-celery/setup.py RunDjangoTests.run/VarMisuse@31/38 `env_name`->`django_testproj_dir`