I'm packaging your module as an rpm package so I'm using the typical PEP517 based build, install and test cycle used on building packages from non-root account.
+ PYTHONPATH=/home/tkloczko/rpmbuild/BUILDROOT/python-breathe-4.34.0-4.fc35.x86_64/usr/lib64/python3.8/site-packages:/home/tkloczko/rpmbuild/BUILDROOT/python-breathe-4.34.0-4.fc35.x86_64/usr/lib/python3.8/site-packages
+ /usr/bin/pytest -ra
=========================================================================== test session starts ============================================================================
platform linux -- Python 3.8.15, pytest-7.2.0, pluggy-1.0.0
rootdir: /home/tkloczko/rpmbuild/BUILD/breathe-4.34.0
collected 21 items
tests/test_renderer.py ..FFFFFFFFFFFFF... [ 85%]
tests/test_utils.py ... [100%]
================================================================================= FAILURES =================================================================================
_____________________________________________________________________________ test_render_func _____________________________________________________________________________
app = <SphinxTestApp buildername='html'>
def test_render_func(app):
member_def = WrappedMemberDef(
kind="function",
definition="void foo",
type_="void",
name="foo",
argsstring="(int)",
virt="non-virtual",
param=[
WrappedParam(type_=WrappedLinkedText(content_=[WrappedMixedContainer(value="int")]))
],
)
> signature = find_node(render(app, member_def), "desc_signature")
tests/test_renderer.py:321:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
tests/test_renderer.py:306: in render
return renderer.render(member_def)
../../BUILDROOT/python-breathe-4.34.0-4.fc35.x86_64/usr/lib/python3.8/site-packages/breathe/renderer/sphinxrenderer.py:2602: in render
result = method(self, node)
../../BUILDROOT/python-breathe-4.34.0-4.fc35.x86_64/usr/lib/python3.8/site-packages/breathe/renderer/sphinxrenderer.py:2489: in dispatch_memberdef
return self.visit_function(node)
../../BUILDROOT/python-breathe-4.34.0-4.fc35.x86_64/usr/lib/python3.8/site-packages/breathe/renderer/sphinxrenderer.py:1981: in visit_function
nodes = self.handle_declaration(node, declaration)
../../BUILDROOT/python-breathe-4.34.0-4.fc35.x86_64/usr/lib/python3.8/site-packages/breathe/renderer/sphinxrenderer.py:667: in handle_declaration
nodes_ = self.run_directive(obj_type, declaration, content_callback, options)
../../BUILDROOT/python-breathe-4.34.0-4.fc35.x86_64/usr/lib/python3.8/site-packages/breathe/renderer/sphinxrenderer.py:619: in run_directive
nodes = directive.run()
/usr/lib/python3.8/site-packages/sphinx/domains/cpp.py:7345: in run
return super().run()
/usr/lib/python3.8/site-packages/sphinx/directives/__init__.py:263: in run
nested_parse_with_titles(self.state, self.content, contentnode)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
state = <test_renderer.MockState object at 0x7f7ac9951460>, content = None, node = <desc_content: >
def nested_parse_with_titles(state: Any, content: StringList, node: Node) -> str:
"""Version of state.nested_parse() that allows titles and does not require
titles to have the same decoration as the calling document.
This is useful when the parsed content comes from a completely different
context, such as docstrings.
"""
# hack around title style bookkeeping
> surrounding_title_styles = state.memo.title_styles
E AttributeError: 'MockState' object has no attribute 'memo'
/usr/lib/python3.8/site-packages/sphinx/util/nodes.py:335: AttributeError
------------------------------------------------------------------------- Captured stdout teardown -------------------------------------------------------------------------
# testroot: root
# builder: html
# srcdir: /tmp/pytest-of-tkloczko/pytest-585/root
# outdir: /tmp/pytest-of-tkloczko/pytest-585/root/_build/html
# status:
Running Sphinx v5.3.0
# warning:
___________________________________________________________________________ test_render_typedef ____________________________________________________________________________
app = <SphinxTestApp buildername='html'>
def test_render_typedef(app):
member_def = WrappedMemberDef(
kind="typedef", definition="typedef int foo", type_="int", name="foo"
)
> signature = find_node(render(app, member_def), "desc_signature")
tests/test_renderer.py:344:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
tests/test_renderer.py:306: in render
return renderer.render(member_def)
../../BUILDROOT/python-breathe-4.34.0-4.fc35.x86_64/usr/lib/python3.8/site-packages/breathe/renderer/sphinxrenderer.py:2602: in render
result = method(self, node)
../../BUILDROOT/python-breathe-4.34.0-4.fc35.x86_64/usr/lib/python3.8/site-packages/breathe/renderer/sphinxrenderer.py:2493: in dispatch_memberdef
return self.visit_typedef(node)
../../BUILDROOT/python-breathe-4.34.0-4.fc35.x86_64/usr/lib/python3.8/site-packages/breathe/renderer/sphinxrenderer.py:2112: in visit_typedef
return self.handle_declaration(node, declaration)
../../BUILDROOT/python-breathe-4.34.0-4.fc35.x86_64/usr/lib/python3.8/site-packages/breathe/renderer/sphinxrenderer.py:667: in handle_declaration
nodes_ = self.run_directive(obj_type, declaration, content_callback, options)
../../BUILDROOT/python-breathe-4.34.0-4.fc35.x86_64/usr/lib/python3.8/site-packages/breathe/renderer/sphinxrenderer.py:619: in run_directive
nodes = directive.run()
/usr/lib/python3.8/site-packages/sphinx/domains/cpp.py:7345: in run
return super().run()
/usr/lib/python3.8/site-packages/sphinx/directives/__init__.py:263: in run
nested_parse_with_titles(self.state, self.content, contentnode)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
state = <test_renderer.MockState object at 0x7f7ac992c460>, content = None, node = <desc_content: >
def nested_parse_with_titles(state: Any, content: StringList, node: Node) -> str:
"""Version of state.nested_parse() that allows titles and does not require
titles to have the same decoration as the calling document.
This is useful when the parsed content comes from a completely different
context, such as docstrings.
"""
# hack around title style bookkeeping
> surrounding_title_styles = state.memo.title_styles
E AttributeError: 'MockState' object has no attribute 'memo'
/usr/lib/python3.8/site-packages/sphinx/util/nodes.py:335: AttributeError
------------------------------------------------------------------------- Captured stdout teardown -------------------------------------------------------------------------
# testroot: root
# builder: html
# srcdir: /tmp/pytest-of-tkloczko/pytest-585/root
# outdir: /tmp/pytest-of-tkloczko/pytest-585/root/_build/html
# status:
Running Sphinx v5.3.0
# warning:
__________________________________________________________________________ test_render_c_typedef ___________________________________________________________________________
app = <SphinxTestApp buildername='html'>
def test_render_c_typedef(app):
member_def = WrappedMemberDef(
kind="typedef", definition="typedef unsigned int bar", type_="unsigned int", name="bar"
)
> signature = find_node(render(app, member_def, domain="c"), "desc_signature")
tests/test_renderer.py:352:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
tests/test_renderer.py:306: in render
return renderer.render(member_def)
../../BUILDROOT/python-breathe-4.34.0-4.fc35.x86_64/usr/lib/python3.8/site-packages/breathe/renderer/sphinxrenderer.py:2602: in render
result = method(self, node)
../../BUILDROOT/python-breathe-4.34.0-4.fc35.x86_64/usr/lib/python3.8/site-packages/breathe/renderer/sphinxrenderer.py:2493: in dispatch_memberdef
return self.visit_typedef(node)
../../BUILDROOT/python-breathe-4.34.0-4.fc35.x86_64/usr/lib/python3.8/site-packages/breathe/renderer/sphinxrenderer.py:2112: in visit_typedef
return self.handle_declaration(node, declaration)
../../BUILDROOT/python-breathe-4.34.0-4.fc35.x86_64/usr/lib/python3.8/site-packages/breathe/renderer/sphinxrenderer.py:667: in handle_declaration
nodes_ = self.run_directive(obj_type, declaration, content_callback, options)
../../BUILDROOT/python-breathe-4.34.0-4.fc35.x86_64/usr/lib/python3.8/site-packages/breathe/renderer/sphinxrenderer.py:619: in run_directive
nodes = directive.run()
/usr/lib/python3.8/site-packages/sphinx/domains/c.py:3250: in run
return super().run()
/usr/lib/python3.8/site-packages/sphinx/directives/__init__.py:263: in run
nested_parse_with_titles(self.state, self.content, contentnode)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
state = <test_renderer.MockState object at 0x7f7aca033d00>, content = None, node = <desc_content: >
def nested_parse_with_titles(state: Any, content: StringList, node: Node) -> str:
"""Version of state.nested_parse() that allows titles and does not require
titles to have the same decoration as the calling document.
This is useful when the parsed content comes from a completely different
context, such as docstrings.
"""
# hack around title style bookkeeping
> surrounding_title_styles = state.memo.title_styles
E AttributeError: 'MockState' object has no attribute 'memo'
/usr/lib/python3.8/site-packages/sphinx/util/nodes.py:335: AttributeError
------------------------------------------------------------------------- Captured stdout teardown -------------------------------------------------------------------------
# testroot: root
# builder: html
# srcdir: /tmp/pytest-of-tkloczko/pytest-585/root
# outdir: /tmp/pytest-of-tkloczko/pytest-585/root/_build/html
# status:
Running Sphinx v5.3.0
# warning:
______________________________________________________________________ test_render_c_function_typedef ______________________________________________________________________
app = <SphinxTestApp buildername='html'>
def test_render_c_function_typedef(app):
member_def = WrappedMemberDef(
kind="typedef",
definition="typedef void* (*voidFuncPtr)(float, int)",
type_="void* (*",
name="voidFuncPtr",
argsstring=")(float, int)",
)
> signature = find_node(render(app, member_def, domain="c"), "desc_signature")
tests/test_renderer.py:364:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
tests/test_renderer.py:306: in render
return renderer.render(member_def)
../../BUILDROOT/python-breathe-4.34.0-4.fc35.x86_64/usr/lib/python3.8/site-packages/breathe/renderer/sphinxrenderer.py:2602: in render
result = method(self, node)
../../BUILDROOT/python-breathe-4.34.0-4.fc35.x86_64/usr/lib/python3.8/site-packages/breathe/renderer/sphinxrenderer.py:2493: in dispatch_memberdef
return self.visit_typedef(node)
../../BUILDROOT/python-breathe-4.34.0-4.fc35.x86_64/usr/lib/python3.8/site-packages/breathe/renderer/sphinxrenderer.py:2112: in visit_typedef
return self.handle_declaration(node, declaration)
../../BUILDROOT/python-breathe-4.34.0-4.fc35.x86_64/usr/lib/python3.8/site-packages/breathe/renderer/sphinxrenderer.py:667: in handle_declaration
nodes_ = self.run_directive(obj_type, declaration, content_callback, options)
../../BUILDROOT/python-breathe-4.34.0-4.fc35.x86_64/usr/lib/python3.8/site-packages/breathe/renderer/sphinxrenderer.py:619: in run_directive
nodes = directive.run()
/usr/lib/python3.8/site-packages/sphinx/domains/c.py:3250: in run
return super().run()
/usr/lib/python3.8/site-packages/sphinx/directives/__init__.py:263: in run
nested_parse_with_titles(self.state, self.content, contentnode)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
state = <test_renderer.MockState object at 0x7f7ac9559670>, content = None, node = <desc_content: >
def nested_parse_with_titles(state: Any, content: StringList, node: Node) -> str:
"""Version of state.nested_parse() that allows titles and does not require
titles to have the same decoration as the calling document.
This is useful when the parsed content comes from a completely different
context, such as docstrings.
"""
# hack around title style bookkeeping
> surrounding_title_styles = state.memo.title_styles
E AttributeError: 'MockState' object has no attribute 'memo'
/usr/lib/python3.8/site-packages/sphinx/util/nodes.py:335: AttributeError
------------------------------------------------------------------------- Captured stdout teardown -------------------------------------------------------------------------
# testroot: root
# builder: html
# srcdir: /tmp/pytest-of-tkloczko/pytest-585/root
# outdir: /tmp/pytest-of-tkloczko/pytest-585/root/_build/html
# status:
Running Sphinx v5.3.0
# warning:
_________________________________________________________________________ test_render_using_alias __________________________________________________________________________
app = <SphinxTestApp buildername='html'>
def test_render_using_alias(app):
member_def = WrappedMemberDef(
kind="typedef", definition="using foo = int", type_="int", name="foo"
)
> signature = find_node(render(app, member_def), "desc_signature")
tests/test_renderer.py:381:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
tests/test_renderer.py:306: in render
return renderer.render(member_def)
../../BUILDROOT/python-breathe-4.34.0-4.fc35.x86_64/usr/lib/python3.8/site-packages/breathe/renderer/sphinxrenderer.py:2602: in render
result = method(self, node)
../../BUILDROOT/python-breathe-4.34.0-4.fc35.x86_64/usr/lib/python3.8/site-packages/breathe/renderer/sphinxrenderer.py:2493: in dispatch_memberdef
return self.visit_typedef(node)
../../BUILDROOT/python-breathe-4.34.0-4.fc35.x86_64/usr/lib/python3.8/site-packages/breathe/renderer/sphinxrenderer.py:2112: in visit_typedef
return self.handle_declaration(node, declaration)
../../BUILDROOT/python-breathe-4.34.0-4.fc35.x86_64/usr/lib/python3.8/site-packages/breathe/renderer/sphinxrenderer.py:667: in handle_declaration
nodes_ = self.run_directive(obj_type, declaration, content_callback, options)
../../BUILDROOT/python-breathe-4.34.0-4.fc35.x86_64/usr/lib/python3.8/site-packages/breathe/renderer/sphinxrenderer.py:619: in run_directive
nodes = directive.run()
/usr/lib/python3.8/site-packages/sphinx/domains/cpp.py:7345: in run
return super().run()
/usr/lib/python3.8/site-packages/sphinx/directives/__init__.py:263: in run
nested_parse_with_titles(self.state, self.content, contentnode)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
state = <test_renderer.MockState object at 0x7f7ac9092520>, content = None, node = <desc_content: >
def nested_parse_with_titles(state: Any, content: StringList, node: Node) -> str:
"""Version of state.nested_parse() that allows titles and does not require
titles to have the same decoration as the calling document.
This is useful when the parsed content comes from a completely different
context, such as docstrings.
"""
# hack around title style bookkeeping
> surrounding_title_styles = state.memo.title_styles
E AttributeError: 'MockState' object has no attribute 'memo'
/usr/lib/python3.8/site-packages/sphinx/util/nodes.py:335: AttributeError
------------------------------------------------------------------------- Captured stdout teardown -------------------------------------------------------------------------
# testroot: root
# builder: html
# srcdir: /tmp/pytest-of-tkloczko/pytest-585/root
# outdir: /tmp/pytest-of-tkloczko/pytest-585/root/_build/html
# status:
Running Sphinx v5.3.0
# warning:
__________________________________________________________________________ test_render_const_func __________________________________________________________________________
app = <SphinxTestApp buildername='html'>
def test_render_const_func(app):
member_def = WrappedMemberDef(
kind="function",
definition="void f",
type_="void",
name="f",
argsstring="() const",
virt="non-virtual",
const="yes",
)
> signature = find_node(render(app, member_def), "desc_signature")
tests/test_renderer.py:395:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
tests/test_renderer.py:306: in render
return renderer.render(member_def)
../../BUILDROOT/python-breathe-4.34.0-4.fc35.x86_64/usr/lib/python3.8/site-packages/breathe/renderer/sphinxrenderer.py:2602: in render
result = method(self, node)
../../BUILDROOT/python-breathe-4.34.0-4.fc35.x86_64/usr/lib/python3.8/site-packages/breathe/renderer/sphinxrenderer.py:2489: in dispatch_memberdef
return self.visit_function(node)
../../BUILDROOT/python-breathe-4.34.0-4.fc35.x86_64/usr/lib/python3.8/site-packages/breathe/renderer/sphinxrenderer.py:1981: in visit_function
nodes = self.handle_declaration(node, declaration)
../../BUILDROOT/python-breathe-4.34.0-4.fc35.x86_64/usr/lib/python3.8/site-packages/breathe/renderer/sphinxrenderer.py:667: in handle_declaration
nodes_ = self.run_directive(obj_type, declaration, content_callback, options)
../../BUILDROOT/python-breathe-4.34.0-4.fc35.x86_64/usr/lib/python3.8/site-packages/breathe/renderer/sphinxrenderer.py:619: in run_directive
nodes = directive.run()
/usr/lib/python3.8/site-packages/sphinx/domains/cpp.py:7345: in run
return super().run()
/usr/lib/python3.8/site-packages/sphinx/directives/__init__.py:263: in run
nested_parse_with_titles(self.state, self.content, contentnode)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
state = <test_renderer.MockState object at 0x7f7ac90200d0>, content = None, node = <desc_content: >
def nested_parse_with_titles(state: Any, content: StringList, node: Node) -> str:
"""Version of state.nested_parse() that allows titles and does not require
titles to have the same decoration as the calling document.
This is useful when the parsed content comes from a completely different
context, such as docstrings.
"""
# hack around title style bookkeeping
> surrounding_title_styles = state.memo.title_styles
E AttributeError: 'MockState' object has no attribute 'memo'
/usr/lib/python3.8/site-packages/sphinx/util/nodes.py:335: AttributeError
------------------------------------------------------------------------- Captured stdout teardown -------------------------------------------------------------------------
# testroot: root
# builder: html
# srcdir: /tmp/pytest-of-tkloczko/pytest-585/root
# outdir: /tmp/pytest-of-tkloczko/pytest-585/root/_build/html
# status:
Running Sphinx v5.3.0
# warning:
_________________________________________________________________________ test_render_lvalue_func __________________________________________________________________________
app = <SphinxTestApp buildername='html'>
def test_render_lvalue_func(app):
member_def = WrappedMemberDef(
kind="function",
definition="void f",
type_="void",
name="f",
argsstring="() &",
virt="non-virtual",
refqual="lvalue",
)
> signature = find_node(render(app, member_def), "desc_signature")
tests/test_renderer.py:409:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
tests/test_renderer.py:306: in render
return renderer.render(member_def)
../../BUILDROOT/python-breathe-4.34.0-4.fc35.x86_64/usr/lib/python3.8/site-packages/breathe/renderer/sphinxrenderer.py:2602: in render
result = method(self, node)
../../BUILDROOT/python-breathe-4.34.0-4.fc35.x86_64/usr/lib/python3.8/site-packages/breathe/renderer/sphinxrenderer.py:2489: in dispatch_memberdef
return self.visit_function(node)
../../BUILDROOT/python-breathe-4.34.0-4.fc35.x86_64/usr/lib/python3.8/site-packages/breathe/renderer/sphinxrenderer.py:1981: in visit_function
nodes = self.handle_declaration(node, declaration)
../../BUILDROOT/python-breathe-4.34.0-4.fc35.x86_64/usr/lib/python3.8/site-packages/breathe/renderer/sphinxrenderer.py:667: in handle_declaration
nodes_ = self.run_directive(obj_type, declaration, content_callback, options)
../../BUILDROOT/python-breathe-4.34.0-4.fc35.x86_64/usr/lib/python3.8/site-packages/breathe/renderer/sphinxrenderer.py:619: in run_directive
nodes = directive.run()
/usr/lib/python3.8/site-packages/sphinx/domains/cpp.py:7345: in run
return super().run()
/usr/lib/python3.8/site-packages/sphinx/directives/__init__.py:263: in run
nested_parse_with_titles(self.state, self.content, contentnode)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
state = <test_renderer.MockState object at 0x7f7ac95323d0>, content = None, node = <desc_content: >
def nested_parse_with_titles(state: Any, content: StringList, node: Node) -> str:
"""Version of state.nested_parse() that allows titles and does not require
titles to have the same decoration as the calling document.
This is useful when the parsed content comes from a completely different
context, such as docstrings.
"""
# hack around title style bookkeeping
> surrounding_title_styles = state.memo.title_styles
E AttributeError: 'MockState' object has no attribute 'memo'
/usr/lib/python3.8/site-packages/sphinx/util/nodes.py:335: AttributeError
------------------------------------------------------------------------- Captured stdout teardown -------------------------------------------------------------------------
# testroot: root
# builder: html
# srcdir: /tmp/pytest-of-tkloczko/pytest-585/root
# outdir: /tmp/pytest-of-tkloczko/pytest-585/root/_build/html
# status:
Running Sphinx v5.3.0
# warning:
_________________________________________________________________________ test_render_rvalue_func __________________________________________________________________________
app = <SphinxTestApp buildername='html'>
def test_render_rvalue_func(app):
member_def = WrappedMemberDef(
kind="function",
definition="void f",
type_="void",
name="f",
argsstring="() &&",
virt="non-virtual",
refqual="rvalue",
)
> signature = find_node(render(app, member_def), "desc_signature")
tests/test_renderer.py:423:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
tests/test_renderer.py:306: in render
return renderer.render(member_def)
../../BUILDROOT/python-breathe-4.34.0-4.fc35.x86_64/usr/lib/python3.8/site-packages/breathe/renderer/sphinxrenderer.py:2602: in render
result = method(self, node)
../../BUILDROOT/python-breathe-4.34.0-4.fc35.x86_64/usr/lib/python3.8/site-packages/breathe/renderer/sphinxrenderer.py:2489: in dispatch_memberdef
return self.visit_function(node)
../../BUILDROOT/python-breathe-4.34.0-4.fc35.x86_64/usr/lib/python3.8/site-packages/breathe/renderer/sphinxrenderer.py:1981: in visit_function
nodes = self.handle_declaration(node, declaration)
../../BUILDROOT/python-breathe-4.34.0-4.fc35.x86_64/usr/lib/python3.8/site-packages/breathe/renderer/sphinxrenderer.py:667: in handle_declaration
nodes_ = self.run_directive(obj_type, declaration, content_callback, options)
../../BUILDROOT/python-breathe-4.34.0-4.fc35.x86_64/usr/lib/python3.8/site-packages/breathe/renderer/sphinxrenderer.py:619: in run_directive
nodes = directive.run()
/usr/lib/python3.8/site-packages/sphinx/domains/cpp.py:7345: in run
return super().run()
/usr/lib/python3.8/site-packages/sphinx/directives/__init__.py:263: in run
nested_parse_with_titles(self.state, self.content, contentnode)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
state = <test_renderer.MockState object at 0x7f7ac8947c70>, content = None, node = <desc_content: >
def nested_parse_with_titles(state: Any, content: StringList, node: Node) -> str:
"""Version of state.nested_parse() that allows titles and does not require
titles to have the same decoration as the calling document.
This is useful when the parsed content comes from a completely different
context, such as docstrings.
"""
# hack around title style bookkeeping
> surrounding_title_styles = state.memo.title_styles
E AttributeError: 'MockState' object has no attribute 'memo'
/usr/lib/python3.8/site-packages/sphinx/util/nodes.py:335: AttributeError
------------------------------------------------------------------------- Captured stdout teardown -------------------------------------------------------------------------
# testroot: root
# builder: html
# srcdir: /tmp/pytest-of-tkloczko/pytest-585/root
# outdir: /tmp/pytest-of-tkloczko/pytest-585/root/_build/html
# status:
Running Sphinx v5.3.0
# warning:
______________________________________________________________________ test_render_const_lvalue_func _______________________________________________________________________
app = <SphinxTestApp buildername='html'>
def test_render_const_lvalue_func(app):
member_def = WrappedMemberDef(
kind="function",
definition="void f",
type_="void",
name="f",
argsstring="() const &",
virt="non-virtual",
const="yes",
refqual="lvalue",
)
> signature = find_node(render(app, member_def), "desc_signature")
tests/test_renderer.py:438:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
tests/test_renderer.py:306: in render
return renderer.render(member_def)
../../BUILDROOT/python-breathe-4.34.0-4.fc35.x86_64/usr/lib/python3.8/site-packages/breathe/renderer/sphinxrenderer.py:2602: in render
result = method(self, node)
../../BUILDROOT/python-breathe-4.34.0-4.fc35.x86_64/usr/lib/python3.8/site-packages/breathe/renderer/sphinxrenderer.py:2489: in dispatch_memberdef
return self.visit_function(node)
../../BUILDROOT/python-breathe-4.34.0-4.fc35.x86_64/usr/lib/python3.8/site-packages/breathe/renderer/sphinxrenderer.py:1981: in visit_function
nodes = self.handle_declaration(node, declaration)
../../BUILDROOT/python-breathe-4.34.0-4.fc35.x86_64/usr/lib/python3.8/site-packages/breathe/renderer/sphinxrenderer.py:667: in handle_declaration
nodes_ = self.run_directive(obj_type, declaration, content_callback, options)
../../BUILDROOT/python-breathe-4.34.0-4.fc35.x86_64/usr/lib/python3.8/site-packages/breathe/renderer/sphinxrenderer.py:619: in run_directive
nodes = directive.run()
/usr/lib/python3.8/site-packages/sphinx/domains/cpp.py:7345: in run
return super().run()
/usr/lib/python3.8/site-packages/sphinx/directives/__init__.py:263: in run
nested_parse_with_titles(self.state, self.content, contentnode)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
state = <test_renderer.MockState object at 0x7f7ac896f1f0>, content = None, node = <desc_content: >
def nested_parse_with_titles(state: Any, content: StringList, node: Node) -> str:
"""Version of state.nested_parse() that allows titles and does not require
titles to have the same decoration as the calling document.
This is useful when the parsed content comes from a completely different
context, such as docstrings.
"""
# hack around title style bookkeeping
> surrounding_title_styles = state.memo.title_styles
E AttributeError: 'MockState' object has no attribute 'memo'
/usr/lib/python3.8/site-packages/sphinx/util/nodes.py:335: AttributeError
------------------------------------------------------------------------- Captured stdout teardown -------------------------------------------------------------------------
# testroot: root
# builder: html
# srcdir: /tmp/pytest-of-tkloczko/pytest-585/root
# outdir: /tmp/pytest-of-tkloczko/pytest-585/root/_build/html
# status:
Running Sphinx v5.3.0
# warning:
______________________________________________________________________ test_render_const_rvalue_func _______________________________________________________________________
app = <SphinxTestApp buildername='html'>
def test_render_const_rvalue_func(app):
member_def = WrappedMemberDef(
kind="function",
definition="void f",
type_="void",
name="f",
argsstring="() const &&",
virt="non-virtual",
const="yes",
refqual="rvalue",
)
> signature = find_node(render(app, member_def), "desc_signature")
tests/test_renderer.py:453:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
tests/test_renderer.py:306: in render
return renderer.render(member_def)
../../BUILDROOT/python-breathe-4.34.0-4.fc35.x86_64/usr/lib/python3.8/site-packages/breathe/renderer/sphinxrenderer.py:2602: in render
result = method(self, node)
../../BUILDROOT/python-breathe-4.34.0-4.fc35.x86_64/usr/lib/python3.8/site-packages/breathe/renderer/sphinxrenderer.py:2489: in dispatch_memberdef
return self.visit_function(node)
../../BUILDROOT/python-breathe-4.34.0-4.fc35.x86_64/usr/lib/python3.8/site-packages/breathe/renderer/sphinxrenderer.py:1981: in visit_function
nodes = self.handle_declaration(node, declaration)
../../BUILDROOT/python-breathe-4.34.0-4.fc35.x86_64/usr/lib/python3.8/site-packages/breathe/renderer/sphinxrenderer.py:667: in handle_declaration
nodes_ = self.run_directive(obj_type, declaration, content_callback, options)
../../BUILDROOT/python-breathe-4.34.0-4.fc35.x86_64/usr/lib/python3.8/site-packages/breathe/renderer/sphinxrenderer.py:619: in run_directive
nodes = directive.run()
/usr/lib/python3.8/site-packages/sphinx/domains/cpp.py:7345: in run
return super().run()
/usr/lib/python3.8/site-packages/sphinx/directives/__init__.py:263: in run
nested_parse_with_titles(self.state, self.content, contentnode)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
state = <test_renderer.MockState object at 0x7f7ac8a99a30>, content = None, node = <desc_content: >
def nested_parse_with_titles(state: Any, content: StringList, node: Node) -> str:
"""Version of state.nested_parse() that allows titles and does not require
titles to have the same decoration as the calling document.
This is useful when the parsed content comes from a completely different
context, such as docstrings.
"""
# hack around title style bookkeeping
> surrounding_title_styles = state.memo.title_styles
E AttributeError: 'MockState' object has no attribute 'memo'
/usr/lib/python3.8/site-packages/sphinx/util/nodes.py:335: AttributeError
------------------------------------------------------------------------- Captured stdout teardown -------------------------------------------------------------------------
# testroot: root
# builder: html
# srcdir: /tmp/pytest-of-tkloczko/pytest-585/root
# outdir: /tmp/pytest-of-tkloczko/pytest-585/root/_build/html
# status:
Running Sphinx v5.3.0
# warning:
_____________________________________________________________________ test_render_variable_initializer _____________________________________________________________________
app = <SphinxTestApp buildername='html'>
def test_render_variable_initializer(app):
member_def = WrappedMemberDef(
kind="variable",
definition="const int EOF",
type_="const int",
name="EOF",
initializer=WrappedMixedContainer(value="= -1"),
)
> signature = find_node(render(app, member_def), "desc_signature")
tests/test_renderer.py:465:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
tests/test_renderer.py:306: in render
return renderer.render(member_def)
../../BUILDROOT/python-breathe-4.34.0-4.fc35.x86_64/usr/lib/python3.8/site-packages/breathe/renderer/sphinxrenderer.py:2602: in render
result = method(self, node)
../../BUILDROOT/python-breathe-4.34.0-4.fc35.x86_64/usr/lib/python3.8/site-packages/breathe/renderer/sphinxrenderer.py:2495: in dispatch_memberdef
return self.visit_variable(node)
../../BUILDROOT/python-breathe-4.34.0-4.fc35.x86_64/usr/lib/python3.8/site-packages/breathe/renderer/sphinxrenderer.py:2175: in visit_variable
return self.handle_declaration(node, declaration, options=options)
../../BUILDROOT/python-breathe-4.34.0-4.fc35.x86_64/usr/lib/python3.8/site-packages/breathe/renderer/sphinxrenderer.py:667: in handle_declaration
nodes_ = self.run_directive(obj_type, declaration, content_callback, options)
../../BUILDROOT/python-breathe-4.34.0-4.fc35.x86_64/usr/lib/python3.8/site-packages/breathe/renderer/sphinxrenderer.py:619: in run_directive
nodes = directive.run()
/usr/lib/python3.8/site-packages/sphinx/domains/cpp.py:7345: in run
return super().run()
/usr/lib/python3.8/site-packages/sphinx/directives/__init__.py:263: in run
nested_parse_with_titles(self.state, self.content, contentnode)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
state = <test_renderer.MockState object at 0x7f7ac8a17130>, content = None, node = <desc_content: >
def nested_parse_with_titles(state: Any, content: StringList, node: Node) -> str:
"""Version of state.nested_parse() that allows titles and does not require
titles to have the same decoration as the calling document.
This is useful when the parsed content comes from a completely different
context, such as docstrings.
"""
# hack around title style bookkeeping
> surrounding_title_styles = state.memo.title_styles
E AttributeError: 'MockState' object has no attribute 'memo'
/usr/lib/python3.8/site-packages/sphinx/util/nodes.py:335: AttributeError
------------------------------------------------------------------------- Captured stdout teardown -------------------------------------------------------------------------
# testroot: root
# builder: html
# srcdir: /tmp/pytest-of-tkloczko/pytest-585/root
# outdir: /tmp/pytest-of-tkloczko/pytest-585/root/_build/html
# status:
Running Sphinx v5.3.0
# warning:
______________________________________________________________________ test_render_define_initializer ______________________________________________________________________
app = <SphinxTestApp buildername='html'>
def test_render_define_initializer(app):
member_def = WrappedMemberDef(
kind="define",
name="MAX_LENGTH",
initializer=WrappedLinkedText(content_=[WrappedMixedContainer(value="100")]),
)
signature_w_initializer = find_node(
> render(app, member_def, show_define_initializer=True), "desc_signature"
)
tests/test_renderer.py:476:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
tests/test_renderer.py:306: in render
return renderer.render(member_def)
../../BUILDROOT/python-breathe-4.34.0-4.fc35.x86_64/usr/lib/python3.8/site-packages/breathe/renderer/sphinxrenderer.py:2602: in render
result = method(self, node)
../../BUILDROOT/python-breathe-4.34.0-4.fc35.x86_64/usr/lib/python3.8/site-packages/breathe/renderer/sphinxrenderer.py:2503: in dispatch_memberdef
return self.visit_define(node)
../../BUILDROOT/python-breathe-4.34.0-4.fc35.x86_64/usr/lib/python3.8/site-packages/breathe/renderer/sphinxrenderer.py:2058: in visit_define
return self.handle_declaration(node, declaration, declarator_callback=add_definition)
../../BUILDROOT/python-breathe-4.34.0-4.fc35.x86_64/usr/lib/python3.8/site-packages/breathe/renderer/sphinxrenderer.py:667: in handle_declaration
nodes_ = self.run_directive(obj_type, declaration, content_callback, options)
../../BUILDROOT/python-breathe-4.34.0-4.fc35.x86_64/usr/lib/python3.8/site-packages/breathe/renderer/sphinxrenderer.py:619: in run_directive
nodes = directive.run()
/usr/lib/python3.8/site-packages/sphinx/domains/c.py:3250: in run
return super().run()
/usr/lib/python3.8/site-packages/sphinx/directives/__init__.py:263: in run
nested_parse_with_titles(self.state, self.content, contentnode)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
state = <test_renderer.MockState object at 0x7f7ac8bf0af0>, content = None, node = <desc_content: >
def nested_parse_with_titles(state: Any, content: StringList, node: Node) -> str:
"""Version of state.nested_parse() that allows titles and does not require
titles to have the same decoration as the calling document.
This is useful when the parsed content comes from a completely different
context, such as docstrings.
"""
# hack around title style bookkeeping
> surrounding_title_styles = state.memo.title_styles
E AttributeError: 'MockState' object has no attribute 'memo'
/usr/lib/python3.8/site-packages/sphinx/util/nodes.py:335: AttributeError
------------------------------------------------------------------------- Captured stdout teardown -------------------------------------------------------------------------
# testroot: root
# builder: html
# srcdir: /tmp/pytest-of-tkloczko/pytest-585/root
# outdir: /tmp/pytest-of-tkloczko/pytest-585/root/_build/html
# status:
Running Sphinx v5.3.0
# warning:
____________________________________________________________________ test_render_define_no_initializer _____________________________________________________________________
app = <SphinxTestApp buildername='html'>
def test_render_define_no_initializer(app):
sphinx.addnodes.setup(app)
member_def = WrappedMemberDef(kind="define", name="USE_MILK")
> signature = find_node(render(app, member_def), "desc_signature")
tests/test_renderer.py:495:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
tests/test_renderer.py:306: in render
return renderer.render(member_def)
../../BUILDROOT/python-breathe-4.34.0-4.fc35.x86_64/usr/lib/python3.8/site-packages/breathe/renderer/sphinxrenderer.py:2602: in render
result = method(self, node)
../../BUILDROOT/python-breathe-4.34.0-4.fc35.x86_64/usr/lib/python3.8/site-packages/breathe/renderer/sphinxrenderer.py:2503: in dispatch_memberdef
return self.visit_define(node)
../../BUILDROOT/python-breathe-4.34.0-4.fc35.x86_64/usr/lib/python3.8/site-packages/breathe/renderer/sphinxrenderer.py:2058: in visit_define
return self.handle_declaration(node, declaration, declarator_callback=add_definition)
../../BUILDROOT/python-breathe-4.34.0-4.fc35.x86_64/usr/lib/python3.8/site-packages/breathe/renderer/sphinxrenderer.py:667: in handle_declaration
nodes_ = self.run_directive(obj_type, declaration, content_callback, options)
../../BUILDROOT/python-breathe-4.34.0-4.fc35.x86_64/usr/lib/python3.8/site-packages/breathe/renderer/sphinxrenderer.py:619: in run_directive
nodes = directive.run()
/usr/lib/python3.8/site-packages/sphinx/domains/c.py:3250: in run
return super().run()
/usr/lib/python3.8/site-packages/sphinx/directives/__init__.py:263: in run
nested_parse_with_titles(self.state, self.content, contentnode)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
state = <test_renderer.MockState object at 0x7f7ac8bd4eb0>, content = None, node = <desc_content: >
def nested_parse_with_titles(state: Any, content: StringList, node: Node) -> str:
"""Version of state.nested_parse() that allows titles and does not require
titles to have the same decoration as the calling document.
This is useful when the parsed content comes from a completely different
context, such as docstrings.
"""
# hack around title style bookkeeping
> surrounding_title_styles = state.memo.title_styles
E AttributeError: 'MockState' object has no attribute 'memo'
/usr/lib/python3.8/site-packages/sphinx/util/nodes.py:335: AttributeError
------------------------------------------------------------------------- Captured stdout teardown -------------------------------------------------------------------------
# testroot: root
# builder: html
# srcdir: /tmp/pytest-of-tkloczko/pytest-585/root
# outdir: /tmp/pytest-of-tkloczko/pytest-585/root/_build/html
# status:
Running Sphinx v5.3.0
# warning:
WARNING: node class 'toctree' is already registered, its visitors will be overridden
WARNING: node class 'desc' is already registered, its visitors will be overridden
WARNING: node class 'desc_signature' is already registered, its visitors will be overridden
WARNING: node class 'desc_signature_line' is already registered, its visitors will be overridden
WARNING: node class 'desc_content' is already registered, its visitors will be overridden
WARNING: node class 'desc_inline' is already registered, its visitors will be overridden
WARNING: node class 'desc_name' is already registered, its visitors will be overridden
WARNING: node class 'desc_addname' is already registered, its visitors will be overridden
WARNING: node class 'desc_type' is already registered, its visitors will be overridden
WARNING: node class 'desc_returns' is already registered, its visitors will be overridden
WARNING: node class 'desc_parameterlist' is already registered, its visitors will be overridden
WARNING: node class 'desc_parameter' is already registered, its visitors will be overridden
WARNING: node class 'desc_optional' is already registered, its visitors will be overridden
WARNING: node class 'desc_annotation' is already registered, its visitors will be overridden
WARNING: node class 'desc_sig_space' is already registered, its visitors will be overridden
WARNING: node class 'desc_sig_name' is already registered, its visitors will be overridden
WARNING: node class 'desc_sig_operator' is already registered, its visitors will be overridden
WARNING: node class 'desc_sig_punctuation' is already registered, its visitors will be overridden
WARNING: node class 'desc_sig_keyword' is already registered, its visitors will be overridden
WARNING: node class 'desc_sig_keyword_type' is already registered, its visitors will be overridden
WARNING: node class 'desc_sig_literal_number' is already registered, its visitors will be overridden
WARNING: node class 'desc_sig_literal_string' is already registered, its visitors will be overridden
WARNING: node class 'desc_sig_literal_char' is already registered, its visitors will be overridden
WARNING: node class 'versionmodified' is already registered, its visitors will be overridden
WARNING: node class 'seealso' is already registered, its visitors will be overridden
WARNING: node class 'productionlist' is already registered, its visitors will be overridden
WARNING: node class 'production' is already registered, its visitors will be overridden
WARNING: node class 'index' is already registered, its visitors will be overridden
WARNING: node class 'centered' is already registered, its visitors will be overridden
WARNING: node class 'acks' is already registered, its visitors will be overridden
WARNING: node class 'hlist' is already registered, its visitors will be overridden
WARNING: node class 'hlistcol' is already registered, its visitors will be overridden
WARNING: node class 'compact_paragraph' is already registered, its visitors will be overridden
WARNING: node class 'glossary' is already registered, its visitors will be overridden
WARNING: node class 'only' is already registered, its visitors will be overridden
WARNING: node class 'start_of_file' is already registered, its visitors will be overridden
WARNING: node class 'highlightlang' is already registered, its visitors will be overridden
WARNING: node class 'tabular_col_spec' is already registered, its visitors will be overridden
WARNING: node class 'pending_xref' is already registered, its visitors will be overridden
WARNING: node class 'number_reference' is already registered, its visitors will be overridden
WARNING: node class 'download_reference' is already registered, its visitors will be overridden
WARNING: node class 'literal_emphasis' is already registered, its visitors will be overridden
WARNING: node class 'literal_strong' is already registered, its visitors will be overridden
WARNING: node class 'manpage' is already registered, its visitors will be overridden
============================================================================= warnings summary =============================================================================
tests/test_renderer.py: 17 warnings
/home/tkloczko/rpmbuild/BUILD/breathe-4.34.0/tests/test_renderer.py:122: DeprecationWarning: The frontend.OptionParser class will be replaced by a subclass of argparse.ArgumentParser in Docutils 0.21 or later.
settings = frontend.OptionParser(components=(parsers.rst.Parser,)).get_default_values()
tests/test_renderer.py: 1156 warnings
/usr/lib64/python3.8/optparse.py:1000: DeprecationWarning: The frontend.Option class will be removed in Docutils 0.21 or later.
option = self.option_class(*args, **kwargs)
-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
========================================================================= short test summary info ==========================================================================
FAILED tests/test_renderer.py::test_render_func - AttributeError: 'MockState' object has no attribute 'memo'
FAILED tests/test_renderer.py::test_render_typedef - AttributeError: 'MockState' object has no attribute 'memo'
FAILED tests/test_renderer.py::test_render_c_typedef - AttributeError: 'MockState' object has no attribute 'memo'
FAILED tests/test_renderer.py::test_render_c_function_typedef - AttributeError: 'MockState' object has no attribute 'memo'
FAILED tests/test_renderer.py::test_render_using_alias - AttributeError: 'MockState' object has no attribute 'memo'
FAILED tests/test_renderer.py::test_render_const_func - AttributeError: 'MockState' object has no attribute 'memo'
FAILED tests/test_renderer.py::test_render_lvalue_func - AttributeError: 'MockState' object has no attribute 'memo'
FAILED tests/test_renderer.py::test_render_rvalue_func - AttributeError: 'MockState' object has no attribute 'memo'
FAILED tests/test_renderer.py::test_render_const_lvalue_func - AttributeError: 'MockState' object has no attribute 'memo'
FAILED tests/test_renderer.py::test_render_const_rvalue_func - AttributeError: 'MockState' object has no attribute 'memo'
FAILED tests/test_renderer.py::test_render_variable_initializer - AttributeError: 'MockState' object has no attribute 'memo'
FAILED tests/test_renderer.py::test_render_define_initializer - AttributeError: 'MockState' object has no attribute 'memo'
FAILED tests/test_renderer.py::test_render_define_no_initializer - AttributeError: 'MockState' object has no attribute 'memo'
=============================================================== 13 failed, 8 passed, 1173 warnings in 5.53s ================================================================