The `add_arc_data` method in the `coverage.data.CoverageData` class is used to add arc data for a given execution trace to the coverage data. Arc data consists of pairs of line numbers representing the source code lines that were executed in the trace. By adding arc data, the coverage data can be updated to reflect the execution coverage of the source code. This method is helpful for collecting and recording information on which parts of the code were executed during the program's run-time.
Python CoverageData.add_arc_data - 17 examples found. These are the top rated real world Python examples of coverage.data.CoverageData.add_arc_data extracted from open source projects. You can rate examples to help us improve the quality of examples.