Skip to content

Commit

Permalink
Skip test_ipython if IPython is not available (#397)
Browse files Browse the repository at this point in the history
  • Loading branch information
mgorny committed Apr 7, 2022
1 parent b4e0c78 commit 7d9cd4b
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions tests/test_ipython.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,11 @@

import mock

import pytest


pytest.importorskip("IPython")


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

0 comments on commit 7d9cd4b

Please sign in to comment.