Skip to content

Commit

Permalink
CLN: Reformat docstring for IPython fixture
Browse files Browse the repository at this point in the history
  • Loading branch information
gfyoung authored and jowens committed Sep 20, 2017
1 parent a4e4909 commit e8fab8a
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion pandas/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,9 +56,12 @@ def spmatrix(request):

@pytest.fixture
def ip():
"""An instance of IPython.InteractiveShell.
"""
Get an instance of IPython.InteractiveShell.
Will raise a skip if IPython is not installed.
"""

pytest.importorskip('IPython', minversion="6.0.0")
from IPython.core.interactiveshell import InteractiveShell
return InteractiveShell()

0 comments on commit e8fab8a

Please sign in to comment.