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

Removed a useless check in runtests.py

Added in 3e97535907, this check
appears to never be triggered today.
This commit is contained in:
Tim Graham 2015-02-03 18:32:00 -05:00
parent c0cc8f69e7
commit 1fc458b5a3

View File

@ -74,7 +74,6 @@ def get_test_modules():
for modpath, dirpath in discovery_paths:
for f in os.listdir(dirpath):
if ('.' in f or
f.startswith('sql') or
os.path.basename(f) in SUBDIRS_TO_SKIP or
os.path.isfile(f) or
not os.path.exists(os.path.join(dirpath, f, '__init__.py'))):