MCPcopy Create free account
hub / github.com/apache/arrow / cond_raises

Function cond_raises

python/pyarrow/tests/test_dataset_encryption.py:105–110  ·  view source on GitHub ↗
(success, error_type, match)

Source from the content-addressed store, hash-verified

103
104@contextmanager
105def cond_raises(success, error_type, match):
106 if success:
107 yield
108 else:
109 with pytest.raises(error_type, match=match):
110 yield
111
112
113def do_test_dataset_encryption_decryption(table, extra_column_path=None):

Callers 1

assert_decryptsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected