Skip to content

Commit 2d4bbb3

Browse files
authored
Fix code style
1 parent 3c71918 commit 2d4bbb3

1 file changed

Lines changed: 6 additions & 1 deletion

File tree

test/test_utils.py

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -204,7 +204,12 @@ def test_find_parents_cross_mount(tmpdir, monkeypatch) -> None:
204204
subsubdir = tmpdir.ensure_dir("subdir", "subsubdir")
205205
path = subsubdir.ensure("path.py")
206206

207-
with mock.patch("os.path.relpath", side_effect=ValueError("path is on mount 'C:', start on mount '\\\\unc\\share'")):
207+
with mock.patch(
208+
"os.path.relpath",
209+
side_effect=ValueError(
210+
"path is on mount 'C:', start on mount '\\\\unc\\share'"
211+
),
212+
):
208213
result = _utils.find_parents(tmpdir.strpath, path.strpath, ["test.cfg"])
209214

210215
assert result == []

0 commit comments

Comments
 (0)