Skip to content

Commit 6b35fe8

Browse files
committed
style: Minor style fixes for b319045.
1 parent be888f8 commit 6b35fe8

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

test/functional/test_pin.py

+4-4
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
1-
import pytest
1+
import pathlib
22

3-
from pathlib import Path
3+
import pytest
44

55
import ipfshttpclient.exceptions
66

77

88
class Resources:
9-
def __init__(self, client, source_folder: Path) -> None:
9+
def __init__(self, client, source_folder: pathlib.Path) -> None:
1010
self.msg = client.add_str("Mary had a little lamb")
1111
self.msg2 = client.add_str("Mary had a little alpaca")
12-
resp_add = client.add(str(source_folder), recursive=True)
12+
resp_add = client.add(source_folder, recursive=True)
1313
self.fake_dir_hashes = [el["Hash"] for el in resp_add if "Hash" in el]
1414
for resp in resp_add:
1515
if resp["Name"] == "fake_dir":

0 commit comments

Comments
 (0)