File tree Expand file tree Collapse file tree 1 file changed +15
-9
lines changed
Expand file tree Collapse file tree 1 file changed +15
-9
lines changed Original file line number Diff line number Diff line change @@ -173,15 +173,21 @@ def pytest_pyfunc_call(self, pyfuncitem):
173173 exclusions .append (r"\# pragma: http-backend=httpx" )
174174
175175 # Create temporary file with extended *coverage.py* configuration data
176- coveragerc .file .writelines (map (lambda s : s + "\n " , itertools .chain ((
177- "[run]" ,
178- "omit =" ,
179- ), map (lambda s : "\t " + s , omitted_files ),
180- (
181- "[report]" ,
182- "# Exclude lines specific to some other Python version from coverage" ,
183- "exclude_lines =" ,
184- ), map (lambda s : "\t " + s , exclusions ))))
176+ coveragerc .file .writelines (
177+ map (
178+ lambda s : s + "\n " ,
179+ itertools .chain (
180+ (
181+ "[run]" ,
182+ "omit =" ,
183+ ),
184+ map (lambda s : "\t " + s , omitted_files ),
185+ (
186+ "[report]" ,
187+ "# Exclude lines specific to some other Python version from coverage" ,
188+ "exclude_lines =" ,
189+ ),
190+ map (lambda s : "\t " + s , exclusions ))))
185191 coveragerc .file .flush ()
186192
187193 coverage_args = [
You can’t perform that action at this time.
0 commit comments