save() prevents harvesting on stop()? · Issue #79 · nedbat/coveragepy (original) (raw)

Originally reported by Zooko O'Whielacronx (Bitbucket: zooko, GitHub: zooko)


Ned:

Looking at the source code of control.py in search of a different bug, it appears to me that if you call save() then it will set self._harvested = True which means that if you then accumulate more measurements and then call stop() that the stop() will observe that self._harvested is already True and will then fail to harvest the new measurements.