Skip to content

Commit 8202307

Browse files
tests/test_docs_samples.py: avoid os.path.relpath() as it can fail on windows.
E.g. when cwd and path are on different drives.
1 parent bc531c5 commit 8202307

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

tests/test_docs_samples.py

-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,6 @@
2121
):
2222
print(f'Not testing: {p}')
2323
else:
24-
p = os.path.relpath(p)
2524
samples.append(p)
2625

2726
# We use pytest.mark.parametrize() to run sample scripts via a fn, which

0 commit comments

Comments
 (0)