Skip to content

Commit 3c833db

Browse files
authored
CLN: Reformat docstring for IPython fixture
1 parent 62f464f commit 3c833db

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

pandas/conftest.py

+4-1
Original file line numberDiff line numberDiff line change
@@ -56,9 +56,12 @@ def spmatrix(request):
5656

5757
@pytest.fixture
5858
def ip():
59-
"""An instance of IPython.InteractiveShell.
59+
"""
60+
Get an instance of IPython.InteractiveShell.
61+
6062
Will raise a skip if IPython is not installed.
6163
"""
64+
6265
pytest.importorskip('IPython', minversion="6.0.0")
6366
from IPython.core.interactiveshell import InteractiveShell
6467
return InteractiveShell()

0 commit comments

Comments
 (0)