From 5126c21bb994f98706b6134e9d4b0aa01eb7e859 Mon Sep 17 00:00:00 2001 From: "haakon.soehoel" Date: Wed, 4 Dec 2024 10:04:53 +0100 Subject: [PATCH] Remove duplicate test The test_pandas2_compatibility_dataframe_index test scenario is covered by test_summary_to_pandas_frame --- python/tests/rd_tests/test_sum.py | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/python/tests/rd_tests/test_sum.py b/python/tests/rd_tests/test_sum.py index 88cddd370..28faf6a86 100644 --- a/python/tests/rd_tests/test_sum.py +++ b/python/tests/rd_tests/test_sum.py @@ -733,18 +733,6 @@ def test_resample_extrapolate(self): rd_sum.get_interp_direct(key_rate, t), ) - def test_pandas2_compatibility_dataframe_index(self): - # regression test to verify that pandas frames in pandas 2 - # does not break due to missing collection for time_index - path = os.path.join(self.TESTDATA_ROOT, "local/ECLIPSE/cp_simple3/SHORT.UNSMRY") - smry = Summary(path) - try: - smry.pandas_frame( - time_index=smry.time_range(interval="1Y"), column_keys=["WELL:NAME"] - ) - except TypeError as err: - pytest.fail(repr(err)) - def create_time_vector(lst): vec = TimeVector()