Commit 22c7351c authored by Stefan Behnel's avatar Stefan Behnel

Add some comments.

parent 56f39f24
......@@ -496,7 +496,7 @@ def parse_tags(filepath):
return tags
list_unchanging_dir = memoize(lambda x: os.listdir(x))
list_unchanging_dir = memoize(lambda x: os.listdir(x)) # needs lambda to set function attribute
@memoize
......@@ -652,6 +652,7 @@ class TestBuilder(object):
suite = unittest.TestSuite()
filenames = os.listdir(self.rootdir)
filenames.sort()
# TODO: parallelise I/O with a thread pool for the different directories once we drop Py2 support
for filename in filenames:
path = os.path.join(self.rootdir, filename)
if os.path.isdir(path) and filename != TEST_SUPPORT_DIR:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment