def pause(self):
        for tracer in self.tracers:
            tracer.stop()
            stats = tracer.get_stats()
            if stats:
                print("\nCoverage.py tracer stats:")
                for k in sorted(stats.keys()):
                    print("%16s: %s" % (k, stats[k]))
        threading.settrace(None)
Pause tracing, but be prepared to `resume`.
dataset/ETHPy150Open RoseOu/flasky/venv/lib/python2.7/site-packages/coverage/collector.py/Collector.pause