@@ -280,14 +280,12 @@ def test_missing_files(tmp_path, capsys):
280280 copy_artifacts (session )
281281 captured = capsys .readouterr ()
282282 assert re .match (
283- cleandoc (
284- """
283+ cleandoc ("""
285284 Could not find any file .*/coverage-python9.9\\ */.coverage
286285 File not found .*/lint-python9.9/.lint.txt
287286 File not found .*/lint-python9.9/.lint.json
288287 File not found .*/security-python9.9/.security.json
289- """
290- ),
288+ """ ),
291289 captured .err ,
292290 )
293291
@@ -313,13 +311,11 @@ def test_all_files(tmp_path, capsys):
313311 EndsWith ("coverage-python9.9-slow/.coverage" ),
314312 )
315313 assert re .match (
316- cleandoc (
317- """
314+ cleandoc ("""
318315 Copying file .*/lint-python9.9/.lint.txt
319316 Copying file .*/lint-python9.9/.lint.json
320317 Copying file .*/security-python9.9/.security.json
321- """
322- ),
318+ """ ),
323319 captured .err ,
324320 )
325321 for f in [".lint.txt" , ".lint.json" , ".security.json" ]:
@@ -347,9 +343,7 @@ def test_that_bad_coverage_file_still_raises_error(
347343 monkeypatch .setattr (_artifacts , "COVERAGE_XML" , coverage_xml )
348344 _create_coverage_file (coverage_db , COVERAGE_TABLES )
349345
350- with pytest .raises (
351- _SessionQuit , match = "doesn't seem to be a coverage data file"
352- ):
346+ with pytest .raises (_SessionQuit , match = "isn't a coverage data file" ):
353347 _prepare_coverage_xml (nox_session , tmp_path , cwd = tmp_path )
354348
355349 assert coverage_db .exists ()
0 commit comments