summaryrefslogtreecommitdiff
path: root/django/test
diff options
context:
space:
mode:
authorAlex Gaynor <alex.gaynor@gmail.com>2013-10-17 17:58:14 -0700
committerAlex Gaynor <alex.gaynor@gmail.com>2013-10-17 17:58:14 -0700
commit65750b83523870851008e804364121f8c458fc2d (patch)
tree4fc24535f85f84c69e64c6eac654294725d906df /django/test
parent65d1d65d52a87bba22845bcb7c3c921a8789ec19 (diff)
parentbab9123daa5d05150951f74183906a76d2b0cf27 (diff)
Merge pull request #1768 from alasdairnicol/ticket_21268
Fixed #21268 -- Fixed E303 pep8 warnings
Diffstat (limited to 'django/test')
-rw-r--r--django/test/runner.py1
1 files changed, 0 insertions, 1 deletions
diff --git a/django/test/runner.py b/django/test/runner.py
index 700a52c775..fd0bfe8cb0 100644
--- a/django/test/runner.py
+++ b/django/test/runner.py
@@ -89,7 +89,6 @@ class DiscoverRunner(object):
break
kwargs['top_level_dir'] = top_level
-
if not (tests and tests.countTestCases()):
# if no tests found, it's probably a package; try discovery
tests = self.test_loader.discover(start_dir=label, **kwargs)