def test_full_typing():
    'This test is here to be a case for typing.'
    logs: List[Tuple[(str, Result[(str, str)])]] = []
    pipeline_result = managed(_use_success, _ReleaseSuccess(logs))(_acquire_success)
    assert (pipeline_result == IOSuccess('use success'))
    assert (logs == [('acquire success', Success('use success'))])
This test is here to be a case for typing.
def test_full_typing():
    
    logs: List[Tuple[(str, Result[(str, str)])]] = []
    pipeline_result = managed(_use_success, _ReleaseSuccess(logs))(_acquire_success)
    assert (pipeline_result == IOSuccess('use success'))
    assert (logs == [('acquire success', Success('use success'))])