From 88a3dd876e9c8febcaf60274ea0721da1cdef048 Mon Sep 17 00:00:00 2001 From: Christoph Hasse Date: Mon, 11 Mar 2024 16:21:10 -0400 Subject: [PATCH] refactor(test) remove workaround for old omfit_classes version --- omas/tests/test_omas_examples.py | 6 ------ 1 file changed, 6 deletions(-) diff --git a/omas/tests/test_omas_examples.py b/omas/tests/test_omas_examples.py index f6c881e3..78b09053 100644 --- a/omas/tests/test_omas_examples.py +++ b/omas/tests/test_omas_examples.py @@ -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):