# Path: sktracker/utils/ipython.py
# def in_ipython():
#     """Test if current python process is an IPython process or not.
# 
#     Returns
#     -------
#     True wether current process is IPython, False in the other case.
#     """
#     try:
#         __IPYTHON__
#     except NameError:
#         return False
#     else:
#         return True  # pragma: no cover


from nose.tools import with_setup
from sktracker.utils import in_ipython

# -*- coding: utf-8 -*-


from __future__ import unicode_literals
from __future__ import division
from __future__ import absolute_import
from __future__ import print_function




def test_in_ipython():
    """Tests are supposed to be run outside an IPython process.
    """


# Path: sktracker/utils/ipython.py
# def in_ipython():
#     """Test if current python process is an IPython process or not.
# 
#     Returns
#     -------
#     True wether current process is IPython, False in the other case.
#     """
#     try:
#         __IPYTHON__
#     except NameError:
#         return False
#     else:
#         return True  # pragma: no cover


# Path: sktracker/utils/tests/test_ipython.py
from nose.tools import with_setup
from sktracker.utils import in_ipython


# -*- coding: utf-8 -*-


from __future__ import unicode_literals
from __future__ import division
from __future__ import absolute_import
from __future__ import print_function




def test_in_ipython():
    """Tests are supposed to be run outside an IPython process.
    """


    assert not in_ipython()