Skip to content

Commit 710f9cd

Browse files
committed
lint
1 parent 14a4ae4 commit 710f9cd

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

fsspec/tests/test_chained.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
import pytest
22

3-
from fsspec import AbstractFileSystem, filesystem
4-
from fsspec import url_to_fs, register_implementation
3+
from fsspec import AbstractFileSystem, filesystem, register_implementation, url_to_fs
54
from fsspec.implementations.cached import ChainedFileSystem
65

76

@@ -12,15 +11,18 @@ def __init__(self, target_protocol="", target_options=None, **kwargs):
1211
super().__init__(**kwargs)
1312
self.fs = filesystem(target_protocol, **target_options)
1413

14+
1515
class MyNonChainedFS(AbstractFileSystem):
1616
protocol = "mynonchain"
1717

18+
1819
@pytest.fixture(scope="module")
1920
def register_fs():
2021
register_implementation(MyChainedFS.protocol, MyChainedFS)
2122
register_implementation(MyNonChainedFS.protocol, MyNonChainedFS)
2223
yield
2324

25+
2426
def test_token_passthrough_to_chained(register_fs):
2527
# First, run a sanity check
2628
fs, rest = url_to_fs("mynonchain://path/to/file")

0 commit comments

Comments
 (0)