File tree Expand file tree Collapse file tree 1 file changed +0
-17
lines changed
fsspec/implementations/tests Expand file tree Collapse file tree 1 file changed +0
-17
lines changed Original file line number Diff line number Diff line change 99import sys
1010import tempfile
1111from contextlib import contextmanager
12- from distutils .version import LooseVersion
1312from pathlib import Path
1413from unittest .mock import patch
1514
@@ -346,22 +345,6 @@ def test_touch(tmpdir):
346345 assert info2 ["mtime" ] > info ["mtime" ]
347346
348347
349- def test_get_pyarrow_filesystem ():
350- pa = pytest .importorskip ("pyarrow" )
351-
352- fs = LocalFileSystem ()
353- if LooseVersion (pa .__version__ ) < LooseVersion ("2.0" ):
354- assert isinstance (fs , pa .filesystem .FileSystem )
355- assert fs ._get_pyarrow_filesystem () is fs
356- else :
357- assert not isinstance (fs , pa .filesystem .FileSystem )
358-
359- class UnknownFileSystem (object ):
360- pass
361-
362- assert not isinstance (UnknownFileSystem (), pa .filesystem .FileSystem )
363-
364-
365348def test_directories (tmpdir ):
366349 tmpdir = make_path_posix (str (tmpdir ))
367350 fs = LocalFileSystem ()
You can’t perform that action at this time.
0 commit comments