Commit 49523202 authored by Guido van Rossum's avatar Guido van Rossum

Don't recurse into build directories created by setup.py.

parent 0dafb70a
......@@ -109,6 +109,9 @@ class TestRunner:
Return a list of the names to be traversed to build tests.
"""
names = os.listdir(pathname)
if "build" in names:
# Don't recurse into build directories created by setup.py
names.remove("build")
if '.testinfo' in names: # allow local control
f = open( os.path.join( pathname, '.testinfo' ) )
lines = filter( None, f.readlines() )
......
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