()
| 276 | """ |
| 277 | |
| 278 | def test_hist_pof(): |
| 279 | ip = get_ipython() |
| 280 | ip.run_cell(u"1+2", store_history=True) |
| 281 | #raise Exception(ip.history_manager.session_number) |
| 282 | #raise Exception(list(ip.history_manager._get_range_session())) |
| 283 | with TemporaryDirectory() as td: |
| 284 | tf = os.path.join(td, 'hist.py') |
| 285 | ip.run_line_magic('history', '-pof %s' % tf) |
| 286 | assert os.path.isfile(tf) |
| 287 | |
| 288 | |
| 289 | @dec.skip_without('sqlite3') |
nothing calls this directly
no test coverage detected