Skip to content

Commit 8687826

Browse files
committed
fix: conflicts
2 parents 1467d07 + 4ef0396 commit 8687826

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

tests/test_heuristics.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,10 @@
1313

1414
try:
1515
from datalad.api import Dataset
16-
except ImportError:
16+
except ImportError: # pragma: no cover
1717
Dataset = None
1818

19+
1920
# this will fail if not in project's root directory
2021
def test_smoke_converall(tmpdir):
2122
runner(

tests/test_main.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@
1616
import csv
1717
import os
1818
import pytest
19+
import stat
1920
import sys
2021

2122
from mock import patch
@@ -225,8 +226,7 @@ def test_make_readonly(tmpdir):
225226
pathname = str(path)
226227
with open(pathname, 'w'):
227228
pass
228-
symname = pathname + 'link'
229-
os.symlink(pathname, symname)
229+
230230
for orig, ro, rw in [
231231
(0o600, 0o400, 0o600), # fully returned
232232
(0o624, 0o404, 0o606), # it will not get write bit where it is not readable

0 commit comments

Comments
 (0)