Source

coverage.py / setup.py

Diff from to
     def build_extension(self, ext):
         """Wrap `build_extension` with `BuildFailed`."""
         try:
+            # Uncomment to test compile failures:
+            #   raise errors.CCompilerError("OOPS")
             build_ext.build_extension(self, ext)
         except ext_errors:
             raise BuildFailed()