summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--pym/portage/tests/__init__.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pym/portage/tests/__init__.py b/pym/portage/tests/__init__.py
index 927af49c7..7f207a2d0 100644
--- a/pym/portage/tests/__init__.py
+++ b/pym/portage/tests/__init__.py
@@ -18,7 +18,7 @@ def main():
# the os.walk help mentions relative paths as being quirky
# I was tired of adding dirs to the list, so now we add __test__
# to each dir we want tested.
- for root, dirs, files in os.walk(os.getcwd()):
+ for root, dirs, files in os.walk(basedir):
if ".svn" in dirs:
dirs.remove('.svn')
if TEST_FILE in files: