The `add_lines` method in the `coverage.data.CoverageData` class is used to add information about executed lines of code to the coverage data. This method takes a filename and a list of line numbers as input and updates the coverage data accordingly. This helps in keeping track of which lines in a file have been executed during program execution.
Python CoverageData.add_lines - 39 examples found. These are the top rated real world Python examples of coverage.data.CoverageData.add_lines extracted from open source projects. You can rate examples to help us improve the quality of examples.