Skip to content

Commit 7d9cd4b

Browse files
authored
Skip test_ipython if IPython is not available (theskumar#397)
1 parent b4e0c78 commit 7d9cd4b

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

tests/test_ipython.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,11 @@
22

33
import mock
44

5+
import pytest
6+
7+
8+
pytest.importorskip("IPython")
9+
510

611
@mock.patch.dict(os.environ, {}, clear=True)
712
def test_ipython_existing_variable_no_override(tmp_path):

0 commit comments

Comments
 (0)