Mark real bubblewrap tests as `lax no cover` so coverage passes on runners that have bwrap

Merged
AD
22d ago
+2-2

The coverage job now fails on unrelated PRs with "135 lines wrongly marked with 'pragma: no cover' are covered", all in tests/harness/bubblewrap_sandbox/.

Why: the CI Linux runner (ubuntu-latest) now resolves to ubuntu-26.04, which has a working bwrap. So the TestRealBubblewrap classes, which are skipped when bubblewrap is missing, now run, and strict-no-cover rejects their pragma: no cover.

Fix: mark both classes pragma: lax no cover, the repo's marker for code that may or may not run. Coverage then passes whether or not the runner has bubblewrap.

Seen on #13357, #13358, #13360, #13361, #13366 and others (e.g. runs 43406979099, 43407416991, 43407603155, 43408040684).


Summary by cubic

Fixes the coverage job failing on unrelated PRs now that ubuntu-latest runners have a working bwrap. The real bubblewrap tests were # pragma: no cover, which strict-no-cover rejects when the runner executes them; # pragma: lax no cover marks code that may or may not run, so coverage passes with or without bubblewrap.