1
0
mirror of https://github.com/django/django.git synced 2024-12-22 17:16:24 +00:00

Removed unnecessary __init__.py creation in admin_scripts.tests.

This commit is contained in:
Jon Dufresne 2019-11-13 06:20:58 -08:00 committed by Mariusz Felisiak
parent 82a88d2f48
commit 8aefe11137

View File

@ -46,8 +46,6 @@ class AdminScriptTestCase(SimpleTestCase):
# where `/var` is a symlink to `/private/var`.
self.test_dir = os.path.realpath(os.path.join(tmpdir.name, 'test_project'))
os.mkdir(self.test_dir)
with open(os.path.join(self.test_dir, '__init__.py'), 'w'):
pass
def write_settings(self, filename, apps=None, is_dir=False, sdict=None, extra=None):
if is_dir: