Skip to content

Commit

Permalink
Remove duplicate test
Browse files Browse the repository at this point in the history
The test_pandas2_compatibility_dataframe_index test
scenario is covered by test_summary_to_pandas_frame
  • Loading branch information
HakonSohoel committed Dec 4, 2024
1 parent 01402c8 commit 5126c21
Showing 1 changed file with 0 additions and 12 deletions.
12 changes: 0 additions & 12 deletions python/tests/rd_tests/test_sum.py
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down

0 comments on commit 5126c21

Please sign in to comment.