Skip to content

Commit

Permalink
Remove track_dependencies
Browse files Browse the repository at this point in the history
Possibly forgotten in e363c1b.

Would fail because of missing result arg with call to `stop_and_save`
now.
  • Loading branch information
blueyed authored and Matlino committed May 14, 2019
1 parent f402939 commit 5f39d8e
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions testmon/testmon_core.py
Original file line number Diff line number Diff line change
Expand Up @@ -287,15 +287,6 @@ def setup_subprocess(self, includes):
subprocess_rc.write(rc_content)
os.environ['COVERAGE_PROCESS_START'] = self.sub_cov_file + "_rc"

def track_dependencies(self, callable_to_track, testmon_data, rootdir, nodeid):
self.start()
try:
callable_to_track()
except:
raise
finally:
self.stop_and_save(testmon_data, rootdir, nodeid)

def start(self):
self.cov.erase()
self.cov.start()
Expand Down

0 comments on commit 5f39d8e

Please sign in to comment.