Show More
@@ -14,6 +14,8 b' import sys' | |||||
14 | import types |
|
14 | import types | |
15 | import warnings |
|
15 | import warnings | |
16 |
|
16 | |||
|
17 | from pathlib import Path | |||
|
18 | ||||
17 | from . import tools |
|
19 | from . import tools | |
18 |
|
20 | |||
19 | from IPython.core import page |
|
21 | from IPython.core import page | |
@@ -95,7 +97,7 b' def start_ipython():' | |||||
95 | # A few more tweaks needed for playing nicely with doctests... |
|
97 | # A few more tweaks needed for playing nicely with doctests... | |
96 |
|
98 | |||
97 | # remove history file |
|
99 | # remove history file | |
98 | shell.tempfiles.append(config.HistoryManager.hist_file) |
|
100 | shell.tempfiles.append(Path(config.HistoryManager.hist_file)) | |
99 |
|
101 | |||
100 | # These traps are normally only active for interactive use, set them |
|
102 | # These traps are normally only active for interactive use, set them | |
101 | # permanently since we'll be mocking interactive sessions. |
|
103 | # permanently since we'll be mocking interactive sessions. |
General Comments 0
You need to be logged in to leave comments.
Login now