@dec.skip_without('sqlite3')
def doctest_hist_f():
    "Test %hist -f with temporary filename.\n\n    In [9]: import tempfile\n\n    In [10]: tfile = tempfile.mktemp('.py','tmp-ipython-')\n\n    In [11]: %hist -nl -f $tfile 3\n\n    In [13]: import os; os.unlink(tfile)\n    "
Test %hist -f with temporary filename.

In [9]: import tempfile

In [10]: tfile = tempfile.mktemp('.py','tmp-ipython-')

In [11]: %hist -nl -f $tfile 3

In [13]: import os; os.unlink(tfile)
@dec.skip_without('sqlite3')
def doctest_hist_f():
    "Test %hist -f with temporary filename.\n\n    In [9]: import tempfile\n\n    In [10]: tfile = tempfile.mktemp('.py','tmp-ipython-')\n\n    In [11]: %hist -nl -f $tfile 3\n\n    In [13]: import os; os.unlink(tfile)\n    "