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 9
9
import sys
10
10
import tempfile
11
11
from contextlib import contextmanager
12
- from distutils .version import LooseVersion
13
12
from pathlib import Path
14
13
from unittest .mock import patch
15
14
@@ -346,22 +345,6 @@ def test_touch(tmpdir):
346
345
assert info2 ["mtime" ] > info ["mtime" ]
347
346
348
347
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
-
365
348
def test_directories (tmpdir ):
366
349
tmpdir = make_path_posix (str (tmpdir ))
367
350
fs = LocalFileSystem ()
You can’t perform that action at this time.
0 commit comments