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

Function test_py_filesystem

python/pyarrow/tests/test_fs.py:1767–1775  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1765
1766
1767def test_py_filesystem():
1768 handler = DummyHandler()
1769 fs = PyFileSystem(handler)
1770 assert isinstance(fs, PyFileSystem)
1771 assert fs.type_name == "py::dummy"
1772 assert fs.handler is handler
1773
1774 with pytest.raises(TypeError):
1775 PyFileSystem(None)
1776
1777
1778def test_py_filesystem_equality():

Callers

nothing calls this directly

Calls 1

DummyHandlerClass · 0.85

Tested by

no test coverage detected