We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6c01cc4 commit 0591cf1Copy full SHA for 0591cf1
2 files changed
lib/iris/tests/stock.py
@@ -528,7 +528,7 @@ def realistic_4d_no_derived():
528
529
def realistic_4d_w_missing_data():
530
data_path = tests.get_data_path(('stock', 'stock_mdi_arrays.npz'))
531
- if not os.path.is_file(data_path):
+ if not os.path.isfile(data_path):
532
raise IOError('Test data is not available at {}.'.format(data_path))
533
data_archive = np.load(data_path)
534
data = ma.masked_array(data_archive['arr_0'], mask=data_archive['arr_1'])
lib/iris/tests/test_mapping.py
@@ -50,6 +50,7 @@
50
@tests.skip_data
51
class TestBasic(tests.GraphicsTest):
52
def setUp(self):
53
+ super(TestBasic, self).setUp()
54
self.cube = iris.tests.stock.realistic_4d()
55
56
def test_contourf(self):
0 commit comments