The `touch_file` method in the `coverage.data.CoverageData` class is used to mark a file as touched. This indicates that the file has been accessed or executed during code coverage measurement. When performing code coverage analysis, this method can be used to record information about the touched files, allowing for the accurate calculation of coverage statistics.
Python CoverageData.touch_file - 25 examples found. These are the top rated real world Python examples of coverage.data.CoverageData.touch_file extracted from open source projects. You can rate examples to help us improve the quality of examples.