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