File tree 5 files changed +11
-11
lines changed
5 files changed +11
-11
lines changed Original file line number Diff line number Diff line change @@ -304,7 +304,7 @@ def test_empty_reporting(self) -> None:
304
304
NoDataError ,
305
305
match = (
306
306
r"^The data file or directory '(.+?)' could not be found\. Perhaps 'coverage "
307
- r"combine' must be run first\.$"
307
+ + r"combine' must be run first\.$"
308
308
)
309
309
):
310
310
cov .report ()
@@ -456,7 +456,7 @@ def test_combining_twice(self) -> None:
456
456
NoDataError ,
457
457
match = (
458
458
r"^The data directory '(.+?)' does not contain any data files. Perhaps 'coverage "
459
- r"combine' must be run first.$"
459
+ + r"combine' must be run first.$"
460
460
)
461
461
):
462
462
cov2 .combine (strict = True , keep = False )
@@ -1392,7 +1392,7 @@ def test_combine_no_usable_files(self) -> None:
1392
1392
NoDataError ,
1393
1393
match = (
1394
1394
r"^The following data files are unusable, perhaps because they do not contain "
1395
- r"valid coverage information:\n- '(.+?)'\n- '(.+?)'$"
1395
+ + r"valid coverage information:\n- '(.+?)'\n- '(.+?)'$"
1396
1396
)
1397
1397
):
1398
1398
cov .combine (strict = True )
Original file line number Diff line number Diff line change @@ -1639,7 +1639,7 @@ def test_no_data_to_report_on_annotate(self) -> None:
1639
1639
NoDataError ,
1640
1640
match = (
1641
1641
r"^The data file or directory '(.+?)' could not be found\. Perhaps 'coverage "
1642
- r"combine' must be run first\.$"
1642
+ + r"combine' must be run first\.$"
1643
1643
)
1644
1644
):
1645
1645
self .command_line ("annotate -d ann" )
@@ -1652,7 +1652,7 @@ def test_no_data_to_report_on_html(self) -> None:
1652
1652
NoDataError ,
1653
1653
match = (
1654
1654
r"^The data file or directory '(.+?)' could not be found\. Perhaps 'coverage "
1655
- r"combine' must be run first\.$"
1655
+ + r"combine' must be run first\.$"
1656
1656
)
1657
1657
):
1658
1658
self .command_line ("html -d htmlcov" )
@@ -1664,7 +1664,7 @@ def test_no_data_to_report_on_xml(self) -> None:
1664
1664
NoDataError ,
1665
1665
match = (
1666
1666
r"^The data file or directory '(.+?)' could not be found\. Perhaps 'coverage "
1667
- r"combine' must be run first\.$"
1667
+ + r"combine' must be run first\.$"
1668
1668
)
1669
1669
):
1670
1670
self .command_line ("xml" )
Original file line number Diff line number Diff line change @@ -430,7 +430,7 @@ def test_dothtml_not_python(self) -> None:
430
430
NoDataError ,
431
431
match = (
432
432
r"^The data file or directory '(.+?)' could not be found\. Perhaps 'coverage "
433
- r"combine' must be run first\.$"
433
+ + r"combine' must be run first\.$"
434
434
)
435
435
):
436
436
cov .html_report ()
Original file line number Diff line number Diff line change @@ -555,7 +555,7 @@ def test_report_skip_covered_no_data(self) -> None:
555
555
NoDataError ,
556
556
match = (
557
557
r"^The data file or directory '(.+?)' could not be found\. Perhaps 'coverage "
558
- r"combine' must be run first\.$"
558
+ + r"combine' must be run first\.$"
559
559
)
560
560
):
561
561
self .get_report (cov , skip_covered = True )
@@ -754,7 +754,7 @@ def test_dotpy_not_python_ignored(self) -> None:
754
754
NoDataError ,
755
755
match = (
756
756
r"^The data file or directory '(.+?)' could not be found\. Perhaps 'coverage "
757
- r"combine' must be run first\.$"
757
+ + r"combine' must be run first\.$"
758
758
)
759
759
):
760
760
with pytest .warns (Warning ) as warns :
@@ -777,7 +777,7 @@ def test_dothtml_not_python(self) -> None:
777
777
NoDataError ,
778
778
match = (
779
779
r"^The data file or directory '(.+?)' could not be found\. Perhaps 'coverage "
780
- r"combine' must be run first\.$"
780
+ + r"combine' must be run first\.$"
781
781
)
782
782
):
783
783
self .get_report (cov , morfs = ["mycode.html" ])
Original file line number Diff line number Diff line change @@ -149,7 +149,7 @@ def test_no_data(self) -> None:
149
149
NoDataError ,
150
150
match = (
151
151
r"^The data file or directory '(.+?)' could not be found\. Perhaps 'coverage "
152
- r"combine' must be run first\.$"
152
+ + r"combine' must be run first\.$"
153
153
)
154
154
):
155
155
self .run_xml_report ()
You can’t perform that action at this time.
0 commit comments