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)
()
| 177 | |
| 178 | @dec.skip_without('sqlite3') |
| 179 | def doctest_hist_f(): |
| 180 | """Test %hist -f with temporary filename. |
| 181 | |
| 182 | In [9]: import tempfile |
| 183 | |
| 184 | In [10]: tfile = tempfile.mktemp('.py','tmp-ipython-') |
| 185 | |
| 186 | In [11]: %hist -nl -f $tfile 3 |
| 187 | |
| 188 | In [13]: import os; os.unlink(tfile) |
| 189 | """ |
| 190 | |
| 191 | |
| 192 | @dec.skip_without('sqlite3') |
nothing calls this directly
no outgoing calls
no test coverage detected