Skip to content

Commit

Permalink
Change ipython_genutils.tempdir calls to testpath.tempdir and tempfile
Browse files Browse the repository at this point in the history
  • Loading branch information
mpacer committed Nov 18, 2016
1 parent 95012fc commit 7e23f87
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion nbconvert/exporters/pdf.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

from ipython_genutils.py3compat import which, cast_bytes_py2
from traitlets import Integer, List, Bool, Instance, Unicode
from ipython_genutils.tempdir import TemporaryWorkingDirectory
from testpath.tempdir import TemporaryWorkingDirectory
from .latex import LatexExporter

class LatexFailed(IOError):
Expand Down
2 changes: 1 addition & 1 deletion nbconvert/exporters/tests/test_latex.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
from nbformat import write
from nbformat import v4
from ipython_genutils.testing.decorators import onlyif_cmds_exist
from ipython_genutils.tempdir import TemporaryDirectory
from tempfile import TemporaryDirectory


class TestLatexExporter(ExportersTestsBase):
Expand Down
2 changes: 1 addition & 1 deletion nbconvert/preprocessors/svg2pdf.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
import subprocess

from ipython_genutils.py3compat import cast_unicode_py2
from ipython_genutils.tempdir import TemporaryDirectory
from tempfile import TemporaryDirectory
from traitlets import Unicode, default

from .convertfigures import ConvertFiguresPreprocessor
Expand Down
2 changes: 1 addition & 1 deletion nbconvert/tests/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
import nose.tools as nt

from nbformat import v4, write
from ipython_genutils.tempdir import TemporaryWorkingDirectory
from testpath.tempdir import TemporaryWorkingDirectory

from ipython_genutils.py3compat import string_types, bytes_to_str

Expand Down

0 comments on commit 7e23f87

Please sign in to comment.