@dec.skip_without('sqlite3')
def doctest_hist_r():
    "Test %hist -r\n\n    XXX - This test is not recording the output correctly.  For some reason, in\n    testing mode the raw history isn't getting populated.  No idea why.\n    Disabling the output checking for now, though at least we do run it.\n\n    In [1]: 'hist' in _ip.lsmagic()\n    Out[1]: True\n\n    In [2]: x=1\n\n    In [3]: %hist -rl 2\n    x=1 # random\n    %hist -r 2\n    "
Test %hist -r

XXX - This test is not recording the output correctly.  For some reason, in
testing mode the raw history isn't getting populated.  No idea why.
Disabling the output checking for now, though at least we do run it.

In [1]: 'hist' in _ip.lsmagic()
Out[1]: True

In [2]: x=1

In [3]: %hist -rl 2
x=1 # random
%hist -r 2
@dec.skip_without('sqlite3')
def doctest_hist_r():
    "Test %hist -r\n\n    XXX - This test is not recording the output correctly.  For some reason, in\n    testing mode the raw history isn't getting populated.  No idea why.\n    Disabling the output checking for now, though at least we do run it.\n\n    In [1]: 'hist' in _ip.lsmagic()\n    Out[1]: True\n\n    In [2]: x=1\n\n    In [3]: %hist -rl 2\n    x=1 # random\n    %hist -r 2\n    "