mirror of
https://github.com/django/django.git
synced 2025-11-01 20:31:40 +00:00
Made more extensive usage of context managers with open.
This commit is contained in:
parent
ec5423df05
commit
865cd35c9b
33 changed files with 178 additions and 233 deletions
|
|
@ -61,6 +61,7 @@ def get_test_modules():
|
|||
for f in os.listdir(dirpath):
|
||||
if (f.startswith('__init__') or
|
||||
f.startswith('.') or
|
||||
f == '__pycache__' or
|
||||
f.startswith('sql') or
|
||||
os.path.basename(f) in REGRESSION_SUBDIRS_TO_SKIP):
|
||||
continue
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue