Using atexit._run_exitfuncs() causes mess with coverage on some systems