##// END OF EJS Templates
put test_hist.sqlite in tempdir, to prevent polluting filesystem
MinRK -
Show More
@@ -31,6 +31,7 b' from __future__ import absolute_import'
31 31 import os
32 32 import re
33 33 import sys
34 import tempfile
34 35
35 36 from contextlib import contextmanager
36 37
@@ -170,7 +171,7 b' def default_config():'
170 171 config.TerminalInteractiveShell.colors = 'NoColor'
171 172 config.TerminalTerminalInteractiveShell.term_title = False,
172 173 config.TerminalInteractiveShell.autocall = 0
173 config.HistoryManager.hist_file = u'test_hist.sqlite'
174 config.HistoryManager.hist_file = os.path.join(tempfile.mkdtemp(), u'test_hist.sqlite')
174 175 config.HistoryManager.db_cache_size = 10000
175 176 return config
176 177
General Comments 0
You need to be logged in to leave comments. Login now