Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Add skipif_not_matplotlib decorator

  • Loading branch information...
commit cd5f9563bed1139c83caebc3e15c41c4b7d7cb31 1 parent 84cb7c3
Jens Hedegaard Nielsen authored
Showing with 2 additions and 0 deletions.
  1. +2 −0  IPython/testing/
2  IPython/testing/
@@ -313,6 +313,8 @@ def module_not_available(module):
# Other skip decorators
skipif_not_numpy = skipif(module_not_available('numpy'),"This test requires numpy")
+skipif_not_matplotlib = skipif(module_not_available('matplotlib'),"This test requires matplotlib")
skipif_not_sympy = skipif(module_not_available('sympy'),"This test requires sympy")
skip_known_failure = knownfailureif(True,'This test is known to fail')
Please sign in to comment.
Something went wrong with that request. Please try again.