Skip to content

Commit 57f2353

Browse files
committed
Fix posix path in test setup/teardown
1 parent be5a160 commit 57f2353

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/test_execute.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ def doctree(
4444
with (src_dir / "contents.rst").open("w", encoding = "utf8") as f:
4545
f.write(source)
4646
warnings = StringIO()
47-
app = SphinxTestApp(srcdir=path(src_dir), status=StringIO(), warning=warnings)
47+
app = SphinxTestApp(srcdir=path(src_dir.as_posix()), status=StringIO(), warning=warnings)
4848
apps.append(app)
4949
app.build()
5050

0 commit comments

Comments
 (0)