Skip to content

Commit

Permalink
refactor(test) remove workaround for old omfit_classes version
Browse files Browse the repository at this point in the history
  • Loading branch information
hassec committed Mar 11, 2024
1 parent 110ba8b commit f9d189f
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions omas/tests/test_omas_examples.py
Original file line number Diff line number Diff line change
Expand Up @@ -97,12 +97,6 @@ def test_uncertain(self):

@unittest.skipIf(failed_OMFIT, str(failed_OMFIT))
def test_plot_g_s_2_ip(self):
# on 3.7 this test raises:
# ValueError: Number of rows must be a positive integer, not 7.0
# It seems like this is caused by a bug in omfit_classes where a float
# instead of int is passed to plot
if sys.version_info.minor==7:
raise unittest.SkipTest("Avoid Py 3.7 omfit_classes bug.")
from omas.examples import plot_g_s_2_ip

def test_plot_saveload_scaling(self):
Expand Down

0 comments on commit f9d189f

Please sign in to comment.