Revert "fixing markdown formatting for pytest-cov coverage command example"

  • Please check this box if this contribution uses AI-generated content (including content generated by GitLab Duo features) as outlined in the GitLab DCO & CLA. As a benefit of being a GitLab Community Contributor, you can request access to GitLab Duo.

Revert "fixing markdown formatting for pytest-cov coverage command example"

This reverts commit a67719e2.

It seems there is some confusion between this change and 232538cb. I think the issue is that the \| renders differently in the generated documentation site vs. viewing the .md file via the gitlab file browser.

Currently, the regex renders with a literal \| when veiwed on https://docs.gitlab.com/ee/ci/testing/code_coverage.html, making this not actually match the pycov output. It looks correct (i.e. just |) on https://gitlab.com/gitlab-org/gitlab/-/blob/master/doc/ci/testing/code_coverage.md?ref_type=heads -- but I don't think most people are looking at the raw pages in the repo.

If we have to choose, I think the docs site should render correctly. To avoid confusion, I've put a comment in.

Edited by Ian Wienand

Merge request reports

Loading