Skip to content

Commit 9a22426

Browse files
committed
Change tempfile imports to testpath.tempdir
1 parent 7e23f87 commit 9a22426

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Diff for: nbconvert/exporters/tests/test_latex.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
from nbformat import write
1313
from nbformat import v4
1414
from ipython_genutils.testing.decorators import onlyif_cmds_exist
15-
from tempfile import TemporaryDirectory
15+
from testpath.tempdir import TemporaryDirectory
1616

1717

1818
class TestLatexExporter(ExportersTestsBase):

Diff for: nbconvert/preprocessors/svg2pdf.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
import subprocess
1313

1414
from ipython_genutils.py3compat import cast_unicode_py2
15-
from tempfile import TemporaryDirectory
15+
from testpath.tempdir import TemporaryDirectory
1616
from traitlets import Unicode, default
1717

1818
from .convertfigures import ConvertFiguresPreprocessor

0 commit comments

Comments
 (0)