..............................F.................        [100%]
=================================== FAILURES ===================================
______ test_source_record_names_cannot_collide_with_scalar_c_types[bool] _______

tmp_path = PosixPath('/tmp/pytest-of-root/pytest-117/test_source_record_names_canno2')
name = 'bool'

    @pytest.mark.parametrize('name', ['int64_t', 'double', 'bool'])
    def test_source_record_names_cannot_collide_with_scalar_c_types(tmp_path, name):
        source = (POINT + '\ndef make(x:int,y:int)->Point:\n    p=Point(x,y)\n    return p\ndef total(p:Point)->int:\n    return p.x+p.y\n').replace('Point', name)
>       exported = build(tmp_path, source, 'int main(void) { return @main.total@(@main.make@(3,4)) == 7 ? 0 : 1; }')
                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

tests/test_typed_record_boundaries_1_3_39.py:191: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
tests/test_module_exports_1_3_36.py:26: in build
    result = convert(sources)
             ^^^^^^^^^^^^^^^^
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

sources = {'main': 'class bool:\n    x: int\n    y: int\n    def __init__(self, x: int, y: int) -> None:\n        self.x = x\n  ...f.y = y\n\ndef make(x:int,y:int)->bool:\n    p=bool(x,y)\n    return p\ndef total(p:bool)->int:\n    return p.x+p.y\n'}

    def convert(sources):
        if isinstance(sources, str):
            sources = {'main': sources}
        docs = [SourceDocumentInput(m + '.py', s, m) for m, s in sources.items()]
        result = PythonToCConverter().convert(ConversionRequest(SourceBundle(docs[0], tuple(docs[1:]))))
>       assert result.generated_c, [(d.code, d.message) for d in result.diagnostics]
E       AssertionError: [('PYC3601', 'Static-record class names cannot shadow the closed annotation builtins')]
E       assert None
E        +  where None = ConversionResult(status=<ResultStatus.REJECTED: 'Rejected'>, generated_c=None, diagnostics=(Diagnostic(code='PYC3601',...lgorithm='sha256', value='daa5b431a9eb095a1e3cab0d9641d27264832928bb5f5f43beaf6c513357778d')), conversion_summary=None).generated_c

tests/test_module_exports_1_3_36.py:21: AssertionError
=========================== short test summary info ============================
FAILED tests/test_typed_record_boundaries_1_3_39.py::test_source_record_names_cannot_collide_with_scalar_c_types[bool]
1 failed, 47 passed, 17 subtests passed in 12.82s
