Skip to content

Commit

Permalink
call super setUp
Browse files Browse the repository at this point in the history
  • Loading branch information
marqh committed Oct 25, 2016
1 parent 6c01cc4 commit 0591cf1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion lib/iris/tests/stock.py
Original file line number Diff line number Diff line change
Expand Up @@ -528,7 +528,7 @@ def realistic_4d_no_derived():

def realistic_4d_w_missing_data():
data_path = tests.get_data_path(('stock', 'stock_mdi_arrays.npz'))
if not os.path.is_file(data_path):
if not os.path.isfile(data_path):
raise IOError('Test data is not available at {}.'.format(data_path))
data_archive = np.load(data_path)
data = ma.masked_array(data_archive['arr_0'], mask=data_archive['arr_1'])
Expand Down
1 change: 1 addition & 0 deletions lib/iris/tests/test_mapping.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@
@tests.skip_data
class TestBasic(tests.GraphicsTest):
def setUp(self):
super(TestBasic, self).setUp()
self.cube = iris.tests.stock.realistic_4d()

def test_contourf(self):
Expand Down

0 comments on commit 0591cf1

Please sign in to comment.