diff options
Diffstat (limited to 'coverage/control.py')
-rw-r--r-- | coverage/control.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/coverage/control.py b/coverage/control.py index ca3660a..7c14e1b 100644 --- a/coverage/control.py +++ b/coverage/control.py @@ -772,8 +772,7 @@ class Coverage(object): ) # Find out if we got any data. - summary = self.data.summary() - if not summary and self._warn_no_data: + if not self.data and self._warn_no_data: self._warn("No data was collected.") # Find files that were never executed at all. |