Skip to content

Commit

Permalink
With data_suffix=True, the data file won't exist yet, so don't load o…
Browse files Browse the repository at this point in the history
…r erase
  • Loading branch information
nedbat committed Sep 2, 2019
1 parent 5c04309 commit a25ff08
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/pytest_cov/engine.py
Original file line number Diff line number Diff line change
Expand Up @@ -291,10 +291,6 @@ def start(self):
branch=self.cov_branch,
data_suffix=True,
config_file=self.cov_config)
if self.cov_append:
self.cov.load()
else:
self.cov.erase()
self.cov.start()
self.set_env()

Expand Down

0 comments on commit a25ff08

Please sign in to comment.