summaryrefslogtreecommitdiff
path: root/tests/test_domain_cpp.py
diff options
context:
space:
mode:
authorJakob Lykke Andersen <Jakob@caput.dk>2020-03-17 18:30:52 +0100
committerJakob Lykke Andersen <Jakob@caput.dk>2020-03-17 18:34:35 +0100
commit91e536597c92f95a90e7e4819cd9157f363c97ad (patch)
tree6bd7456136b7e788ae59a592b1886d23eb238f97 /tests/test_domain_cpp.py
parent02c4a0d02fe361ef3856f0984117cbdd4bfcfa45 (diff)
downloadsphinx-git-91e536597c92f95a90e7e4819cd9157f363c97ad.tar.gz
Use logging.suppress_logging()
Diffstat (limited to 'tests/test_domain_cpp.py')
-rw-r--r--tests/test_domain_cpp.py3
1 files changed, 0 insertions, 3 deletions
diff --git a/tests/test_domain_cpp.py b/tests/test_domain_cpp.py
index b4c166ae6..d78ee9cfe 100644
--- a/tests/test_domain_cpp.py
+++ b/tests/test_domain_cpp.py
@@ -24,7 +24,6 @@ def parse(name, string):
cpp_id_attributes = ["id_attr"]
cpp_paren_attributes = ["paren_attr"]
parser = DefinitionParser(string, location=None,
- emitWarnings=True,
config=Config())
parser.allowFallbackExpressionParsing = False
ast = parser.parse_declaration(name, name)
@@ -118,7 +117,6 @@ def test_expressions():
cpp_paren_attributes = ["paren_attr"]
parser = DefinitionParser(expr, location=None,
- emitWarnings=True,
config=Config())
parser.allowFallbackExpressionParsing = False
ast = parser.parse_expression()
@@ -792,7 +790,6 @@ def test_xref_parsing():
cpp_id_attributes = ["id_attr"]
cpp_paren_attributes = ["paren_attr"]
parser = DefinitionParser(target, location=None,
- emitWarnings=True,
config=Config())
ast, isShorthand = parser.parse_xref_object()
parser.assert_end()