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