Open
Description
Running tests for pygccxml-2.5.0 test_smart_pointer_value_type fails with the following output:
________________________________ Test.test_smart_pointer_value_type _________________________________
self = <unittests.test_smart_pointer.Test testMethod=test_smart_pointer_value_type>
def test_smart_pointer_value_type(self):
"""
Test smart_pointer_traits.value_type method.
"""
if self.config.xml_generator == "gccxml":
return
criteria = declarations.declaration_matcher(name="yes1")
decls = declarations.matcher.find(criteria, self.global_ns)
vt = declarations.smart_pointer_traits.value_type(decls[0].decl_type)
self.assertIsInstance(vt, declarations.int_t)
E AssertionError: <pygccxml.declarations.cpptypes.unknown_t object at 0x7f3cfcb86d50> is not an instance of <class 'pygccxml.declarations.cpptypes.int_t'>
See also https://bugs.gentoo.org/940578
Metadata
Metadata
Assignees
Labels
No labels