mirror of
https://github.com/aljazceru/plugins.git
synced 2025-12-18 21:54:20 +01:00
11 lines
169 B
Python
11 lines
169 B
Python
import coverage
|
|
cov = coverage.process_startup()
|
|
|
|
if cov is not None:
|
|
import atexit
|
|
def stop():
|
|
cov.stop()
|
|
cov.save()
|
|
|
|
atexit.register(stop)
|