mirror of https://github.com/django/django.git
Removed unnecessary __init__.py creation in admin_scripts.tests.
This commit is contained in:
parent
82a88d2f48
commit
8aefe11137
|
@ -46,8 +46,6 @@ class AdminScriptTestCase(SimpleTestCase):
|
||||||
# where `/var` is a symlink to `/private/var`.
|
# where `/var` is a symlink to `/private/var`.
|
||||||
self.test_dir = os.path.realpath(os.path.join(tmpdir.name, 'test_project'))
|
self.test_dir = os.path.realpath(os.path.join(tmpdir.name, 'test_project'))
|
||||||
os.mkdir(self.test_dir)
|
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):
|
def write_settings(self, filename, apps=None, is_dir=False, sdict=None, extra=None):
|
||||||
if is_dir:
|
if is_dir:
|
||||||
|
|
Loading…
Reference in New Issue