Skip to content

Commit e3eff0a

Browse files
committed
Merge branch 'bug/fetch_tests' of github.com:me-pic/phys2bids into bug/fetch_tests
2 parents 663c934 + aacc4ce commit e3eff0a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

phys2bids/tests/conftest.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
import os
22
import ssl
3-
import requests
43

54
import pytest
5+
import requests
66

77

88
def pytest_addoption(parser):
@@ -52,7 +52,7 @@ def fetch_file(osf_id, path, filename):
5252
if not os.path.isfile(full_path):
5353
req = requests.get(url, allow_redirects=True)
5454
req.raise_for_status()
55-
with open(full_path, 'wb') as f:
55+
with open(full_path, "wb") as f:
5656
f.write(req.content)
5757
f.close()
5858
return full_path

0 commit comments

Comments
 (0)