We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 24336eb + 8dcac67 commit 430ddfcCopy full SHA for 430ddfc
examples/run_all.py
@@ -12,6 +12,17 @@
12
test_files.remove('plothighsandlows.py') # requires scipy
13
test_files.remove('lic_demo.py')
14
test_files.remove('testwmsimage.py')
15
+try:
16
+ from netCDF4 import Dataset
17
+except ImportError:
18
+ # remove tests requiring netCDF4
19
+ sys.stdout.write("Could not import netCDF4, skipping tests that require netCDF4.\n")
20
+ test_files.remove('streamplot_demo.py')
21
+ test_files.remove('plotprecip.py')
22
+ test_files.remove('test_rotpole.py')
23
+ test_files.remove('ccsm_popgrid.py')
24
+ test_files.remove('ploticos.py')
25
+
26
py_path = os.environ.get('PYTHONPATH')
27
if py_path is None:
28
py_path = '.'
0 commit comments