sitecustomize.py 274 B

12345678910111213
  1. # -*- coding: utf-8 -*-
  2. """
  3. Python will always try to import sitecustomize.
  4. We use that fact to try and support code coverage for sub-processes
  5. """
  6. from __future__ import absolute_import
  7. try:
  8. import coverage
  9. coverage.process_startup()
  10. except ImportError:
  11. pass