@dec.skip_without('sqlite3')
def doctest_hist_op():
    "Test %hist -op\n\n    In [1]: class b(float):\n       ...:     pass\n       ...: \n\n    In [2]: class s(object):\n       ...:     def __str__(self):\n       ...:         return 's'\n       ...: \n\n    In [3]: \n\n    In [4]: class r(b):\n       ...:     def __repr__(self):\n       ...:         return 'r'\n       ...: \n\n    In [5]: class sr(s,r): pass\n       ...: \n\n    In [6]: \n\n    In [7]: bb=b()\n\n    In [8]: ss=s()\n\n    In [9]: rr=r()\n\n    In [10]: ssrr=sr()\n\n    In [11]: 4.5\n    Out[11]: 4.5\n\n    In [12]: str(ss)\n    Out[12]: 's'\n\n    In [13]: \n\n    In [14]: %hist -op\n    >>> class b:\n    ...     pass\n    ... \n    >>> class s(b):\n    ...     def __str__(self):\n    ...         return 's'\n    ... \n    >>> \n    >>> class r(b):\n    ...     def __repr__(self):\n    ...         return 'r'\n    ... \n    >>> class sr(s,r): pass\n    >>> \n    >>> bb=b()\n    >>> ss=s()\n    >>> rr=r()\n    >>> ssrr=sr()\n    >>> 4.5\n    4.5\n    >>> str(ss)\n    's'\n    >>> \n    "
Test %hist -op

In [1]: class b(float):
   ...:     pass
   ...: 

In [2]: class s(object):
   ...:     def __str__(self):
   ...:         return 's'
   ...: 

In [3]: 

In [4]: class r(b):
   ...:     def __repr__(self):
   ...:         return 'r'
   ...: 

In [5]: class sr(s,r): pass
   ...: 

In [6]: 

In [7]: bb=b()

In [8]: ss=s()

In [9]: rr=r()

In [10]: ssrr=sr()

In [11]: 4.5
Out[11]: 4.5

In [12]: str(ss)
Out[12]: 's'

In [13]: 

In [14]: %hist -op
>>> class b:
...     pass
... 
>>> class s(b):
...     def __str__(self):
...         return 's'
... 
>>> 
>>> class r(b):
...     def __repr__(self):
...         return 'r'
... 
>>> class sr(s,r): pass
>>> 
>>> bb=b()
>>> ss=s()
>>> rr=r()
>>> ssrr=sr()
>>> 4.5
4.5
>>> str(ss)
's'
>>>
@dec.skip_without('sqlite3')
def doctest_hist_op():
    "Test %hist -op\n\n    In [1]: class b(float):\n       ...:     pass\n       ...: \n\n    In [2]: class s(object):\n       ...:     def __str__(self):\n       ...:         return 's'\n       ...: \n\n    In [3]: \n\n    In [4]: class r(b):\n       ...:     def __repr__(self):\n       ...:         return 'r'\n       ...: \n\n    In [5]: class sr(s,r): pass\n       ...: \n\n    In [6]: \n\n    In [7]: bb=b()\n\n    In [8]: ss=s()\n\n    In [9]: rr=r()\n\n    In [10]: ssrr=sr()\n\n    In [11]: 4.5\n    Out[11]: 4.5\n\n    In [12]: str(ss)\n    Out[12]: 's'\n\n    In [13]: \n\n    In [14]: %hist -op\n    >>> class b:\n    ...     pass\n    ... \n    >>> class s(b):\n    ...     def __str__(self):\n    ...         return 's'\n    ... \n    >>> \n    >>> class r(b):\n    ...     def __repr__(self):\n    ...         return 'r'\n    ... \n    >>> class sr(s,r): pass\n    >>> \n    >>> bb=b()\n    >>> ss=s()\n    >>> rr=r()\n    >>> ssrr=sr()\n    >>> 4.5\n    4.5\n    >>> str(ss)\n    's'\n    >>> \n    "