Skip to content

Commit

Permalink
Avoid import problems under Windows
Browse files Browse the repository at this point in the history
  • Loading branch information
Martin Schulze committed Oct 19, 2023
1 parent 5294a2e commit 95013b8
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions fsspec/implementations/tests/test_smb.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@
import pytest

import fsspec
import fsspec.implementations.smb

pytest.importorskip("smbprotocol")

Expand Down Expand Up @@ -122,8 +121,6 @@ def test_makedirs_exist_ok(smb_params):


def test_rename_from_upath(smb_params):
fsmb: fsspec.implementations.smb.SMBFileSystem = fsspec.get_filesystem_class("smb")(
**smb_params
)
fsmb = fsspec.get_filesystem_class("smb")(**smb_params)
fsmb.makedirs("/home/a/b/c", exist_ok=True)
fsmb.mv("/home/a/b/c", "/home/a/b/d", recursive=False, maxdepth=None)

0 comments on commit 95013b8

Please sign in to comment.