Skip to content

Test 'test_smart_pointer.py' fails with GCC-15.0.0 #205

Description

@dl1jbe

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions