Skip to content

Commit be9a1cd

Browse files
authored
Merge pull request #218 from scipp/run_doctest_in_same_workdir
Use same tempdir for html and doctest builders
2 parents b020b15 + 9c91e1d commit be9a1cd

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

docs/build_and_test.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,11 +21,9 @@
2121
],
2222
stderr=subprocess.STDOUT,
2323
shell=shell)
24-
25-
with tempfile.TemporaryDirectory() as work_dir:
2624
subprocess.check_call([
2725
'python', 'build_docs.py', '--builder=doctest', f'--prefix={build_dir}',
28-
f'--work_dir={work_dir}', '--no-setup'
26+
f'--work_dir={work_dir}'
2927
],
3028
stderr=subprocess.STDOUT,
3129
shell=shell)

0 commit comments

Comments
 (0)