Commented on a line that inadvertantly slipped in commit 865cd35c

Ignoring __pycache__ directories fixes #17393 and prepare testing
with Python 3.
This commit is contained in:
Claude Paroz 2012-05-05 16:45:02 +02:00
parent 865cd35c9b
commit 208e26b39c
1 changed files with 1 additions and 0 deletions

View File

@ -61,6 +61,7 @@ def get_test_modules():
for f in os.listdir(dirpath): for f in os.listdir(dirpath):
if (f.startswith('__init__') or if (f.startswith('__init__') or
f.startswith('.') or f.startswith('.') or
# Python 3 byte code dirs (PEP 3147)
f == '__pycache__' or f == '__pycache__' or
f.startswith('sql') or f.startswith('sql') or
os.path.basename(f) in REGRESSION_SUBDIRS_TO_SKIP): os.path.basename(f) in REGRESSION_SUBDIRS_TO_SKIP):