summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorpjenvey <devnull@localhost>2006-06-19 04:45:53 +0000
committerpjenvey <devnull@localhost>2006-06-19 04:45:53 +0000
commita8b052e181e7a1d9cb7452ce72d9c9085255dabe (patch)
tree8d4d77320dd4c81c80e453ad7c873c1a82031adb /tests
parent573e3d58dbb58c5d268e2a9e2ede2322197bfa78 (diff)
downloadpaste-a8b052e181e7a1d9cb7452ce72d9c9085255dabe.tar.gz
updated test comment
Diffstat (limited to 'tests')
-rw-r--r--tests/test_urlparser.py7
1 files changed, 4 insertions, 3 deletions
diff --git a/tests/test_urlparser.py b/tests/test_urlparser.py
index 5789c86..621c715 100644
--- a/tests/test_urlparser.py
+++ b/tests/test_urlparser.py
@@ -132,9 +132,10 @@ def test_egg_parser():
unreachable_test_file = None
search_path = pkg_root_path = get_distribution('Paste').location
level = 0
- # This test might break if there's no readable files in the pkg's root
- # directory (this is likely when Paste is installed as a .egg in
- # site-packages). Traverse up the directory tree until one is found
+ # We might not find any readable files in the pkg's root directory (this
+ # is likely when Paste is installed as a .egg in site-packages). We
+ # (hopefully) can prevent this by traversing up the directory tree until
+ # a usable file is found
while unreachable_test_file is None and \
os.path.normpath(search_path) != os.path.sep:
for file in os.listdir(search_path):