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

Function assert_opens

python/pyarrow/tests/test_dataset.py:209–214  ·  view source on GitHub ↗
(expected_opened)

Source from the content-addressed store, hash-verified

207
208 @contextlib.contextmanager
209 def assert_opens(expected_opened):
210 opened.clear()
211 try:
212 yield
213 finally:
214 assert normalized(opened) == normalized(expected_opened)
215
216 return fs, assert_opens
217

Calls 2

normalizedFunction · 0.85
clearMethod · 0.45

Tested by

no test coverage detected