Write temporary notebooks to a TemporaryDirectory
rather than NamedTemporaryFile
#1206
Milestone
TemporaryDirectory
rather than NamedTemporaryFile
#1206
Currently the
jupytext --check
orjupytext --pipe
commands write the temporary Python files or notebooks to a temp file created withNamedTemporaryFile
.This file is located directly under
\tmp\
and this breaks a test involvingpytest==8.0.0rc1
(pytest-dev/pytest#11807).We should be able to solve this by using
TemporaryDirectory
instead.The text was updated successfully, but these errors were encountered: