summaryrefslogtreecommitdiff
path: root/pytest.py
diff options
context:
space:
mode:
authorSylvain Th?nault <sylvain.thenault@logilab.fr>2010-08-27 14:08:09 +0200
committerSylvain Th?nault <sylvain.thenault@logilab.fr>2010-08-27 14:08:09 +0200
commitdcc2e1edbb76d7919a08c813bee52c255f7d95b9 (patch)
treea9dd57c534f85c29608765066a2fb978f2719e14 /pytest.py
parent9d8813d9f30302eed91325afa00fa0e204ce65a1 (diff)
downloadlogilab-common-dcc2e1edbb76d7919a08c813bee52c255f7d95b9.tar.gz
fix some pylint detected errors
Diffstat (limited to 'pytest.py')
-rw-r--r--pytest.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pytest.py b/pytest.py
index 53b9d1c..5868dfd 100644
--- a/pytest.py
+++ b/pytest.py
@@ -502,7 +502,7 @@ class DjangoTester(PyTester):
"""walks through current working directory, finds something
which can be considered as a testdir and runs every test there
"""
- for dirname, dirs, _ in os.walk(os.getcwd()):
+ for dirname, dirs, files in os.walk(os.getcwd()):
for skipped in ('CVS', '.svn', '.hg'):
if skipped in dirs:
dirs.remove(skipped)