From e8fab8a1917c9c9f020cdce3e5e33cae1343b6af Mon Sep 17 00:00:00 2001 From: gfyoung Date: Mon, 7 Aug 2017 15:18:33 -0700 Subject: [PATCH] CLN: Reformat docstring for IPython fixture --- pandas/conftest.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/pandas/conftest.py b/pandas/conftest.py index 763a41ee2e2aa..90e5ac864e96f 100644 --- a/pandas/conftest.py +++ b/pandas/conftest.py @@ -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()