Skip to content

Commit

Permalink
Update test scripts to support Python3, update MOM. mom-ocean#328
Browse files Browse the repository at this point in the history
  • Loading branch information
nichannah committed Nov 28, 2016
1 parent 94910d2 commit f4edf7b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion tools/tests/test_diagnostic_output.py
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ def is_layer(diag):
coord_diags = filter(is_sigma, available_diags)
layer_diags = filter(is_layer, available_diags)

dump_diags(exp, coord_diags + layer_diags)
dump_diags(exp, list(coord_diags) + list(layer_diags))

return coord_diags, layer_diags

Expand Down Expand Up @@ -210,6 +210,7 @@ def test_cmp_z_zold_remapping(self, exp):
compare_z_to_zold_diags(old, new)
break

@pytest.mark.skip(reason="Rho remapping not supported yet.")
@pytest.mark.rho_remap
def test_rho_remapping(self, exp_diags_not_dumped):
"""
Expand All @@ -221,6 +222,7 @@ def test_rho_remapping(self, exp_diags_not_dumped):
compare_rho_to_layer(rho_diags, layer_diags)


@pytest.mark.skip(reason="Sigma remapping not supported yet.")
@pytest.mark.sigma_remap
def test_sigma_remapping(self, exp_diags_not_dumped):
"""
Expand Down

0 comments on commit f4edf7b

Please sign in to comment.