Skip to content

Commit 0591cf1

Browse files
committed
call super setUp
1 parent 6c01cc4 commit 0591cf1

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

lib/iris/tests/stock.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -528,7 +528,7 @@ def realistic_4d_no_derived():
528528

529529
def realistic_4d_w_missing_data():
530530
data_path = tests.get_data_path(('stock', 'stock_mdi_arrays.npz'))
531-
if not os.path.is_file(data_path):
531+
if not os.path.isfile(data_path):
532532
raise IOError('Test data is not available at {}.'.format(data_path))
533533
data_archive = np.load(data_path)
534534
data = ma.masked_array(data_archive['arr_0'], mask=data_archive['arr_1'])

lib/iris/tests/test_mapping.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,7 @@
5050
@tests.skip_data
5151
class TestBasic(tests.GraphicsTest):
5252
def setUp(self):
53+
super(TestBasic, self).setUp()
5354
self.cube = iris.tests.stock.realistic_4d()
5455

5556
def test_contourf(self):

0 commit comments

Comments
 (0)