Skip to content

Commit

Permalink
skip if matplotlib >is< None...
Browse files Browse the repository at this point in the history
  • Loading branch information
thangleiter committed Jul 3, 2020
1 parent 48491aa commit ec85c48
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_extras.py
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ def test_plotting_not_available(self):

@pytest.mark.skipif(
('bloch_sphere_visualization' in os.environ.get('INSTALL_EXTRAS', all_extras) # noqa
and matplotlib is not None),
and matplotlib is None),
reason='Skipping tests for missing bloch sphere visualization tests in build with qutip') # noqa
def test_bloch_sphere_visualization_not_available(self):

Expand Down

0 comments on commit ec85c48

Please sign in to comment.