def coverage(self,
                 container: Container,
                 tests: Optional[Iterable[TestCase]] = None,
                 *,
                 instrument: bool = True
                 ) -> TestSuiteCoverage:
        """
        Computes line coverage information over a provided set of tests for
        the program inside a given container.
        """
        extractor = self.coverage_extractor(container)
        if tests is None:
            bugs = self.__installation.bugs
            bug = bugs[container.bug]
            tests = bug.tests
        return extractor.run(tests, instrument=instrument)
def coverage ( self , container : Container , tests : Optional [ Iterable [ TestCase ] ] = None , * , instrument : bool = True ) -> TestSuiteCoverage : extractor = self . coverage_extractor ( container ) if tests is None : bugs = self . __installation . bugs bug = bugs [ container . bug ] tests = bug . tests return extractor . run ( tests , instrument = instrument )
Computes line coverage information over a provided set of tests for
        the program inside a given container.