summaryrefslogtreecommitdiff
path: root/tests/admin_scripts/tests.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/admin_scripts/tests.py')
-rw-r--r--tests/admin_scripts/tests.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/tests/admin_scripts/tests.py b/tests/admin_scripts/tests.py
index 8e00a86071..7b41c40199 100644
--- a/tests/admin_scripts/tests.py
+++ b/tests/admin_scripts/tests.py
@@ -48,8 +48,7 @@ class AdminScriptTestCase(SimpleTestCase):
cls.__name__,
'test_project',
))
- if not os.path.exists(cls.test_dir):
- os.makedirs(cls.test_dir)
+ os.makedirs(cls.test_dir)
with open(os.path.join(cls.test_dir, '__init__.py'), 'w'):
pass