def test_libc_no_ldd(check_output):
    check_output.side_effect = OSError
    assert PlatformDetection.libc() == "gnu"
def test_libc(check_output, output, libc):
    check_output.return_value = output
    assert PlatformDetection.libc() == libc