Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[test] fix side-effect due to repeated fields #12187

Draft
wants to merge 3 commits into
base: master
Choose a base branch
from
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
8 changes: 7 additions & 1 deletion tests/test_domains/test_domain_cpp.py
Original file line number Diff line number Diff line change
Expand Up @@ -1136,7 +1136,13 @@ def test_domain_cpp_build_backslash_ok_true(app, status, warning):
assert len(ws) == 0


@pytest.mark.sphinx(testroot='domain-cpp', confoverrides={'nitpicky': True})
@pytest.mark.sphinx(
testroot='domain-cpp',
confoverrides={
'nitpicky': True,
'include_patterns': ['index.rst', 'semicolon.rst'],
},
)
def test_domain_cpp_build_semicolon(app, status, warning):
app.build(force_all=True)
ws = filter_warnings(warning, "semicolon")
Expand Down