Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
def test_has_arrow_support_succeeds():
assert _has_arrow_support() == True
def test_has_arrow_support_fails():
with patch(_IMPORT_FUNCTION_NAME, side_effect=ImportError):
assert _has_arrow_support() == False