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
1 changed files with 0 additions and 1 deletions

View File

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