Show More
@@ -16,11 +16,11 b' from IPython.lib import irunner' | |||
|
16 | 16 | from IPython.testing import decorators |
|
17 | 17 | |
|
18 | 18 | def pylab_not_importable(): |
|
19 |
"""Test if importing pylab fails |
|
|
19 | """Test if importing pylab fails. (For example, when having no display)""" | |
|
20 | 20 | try: |
|
21 | 21 | import pylab |
|
22 | 22 | return False |
|
23 |
except |
|
|
23 | except: | |
|
24 | 24 | return True |
|
25 | 25 | |
|
26 | 26 | # Testing code begins |
General Comments 0
You need to be logged in to leave comments.
Login now