diff --git a/run_tests.py b/run_tests.py
index c54375307b4a3a055751d0708a1ec52efc0b3009..d84f5901b12c62b25b44d3486f19c76be9246bf5 100644 (file)
--- a/run_tests.py
+++ b/run_tests.py
cycles in your Zope sandbox, so don't do that.
"""
try:
- names = os.listdir(top)
+ # Prevent 'hidden' files (those starting with '.') from being considered.
+ names = [f for f in os.listdir(top) if not f.startswith('.')]
except os.error:
return
func(arg, top, names)