Skip to content

Commit

Permalink
use pandas.testing.assert_frame_equal
Browse files Browse the repository at this point in the history
  • Loading branch information
anilbey committed Nov 7, 2022
1 parent 09a5387 commit 4d5cd88
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion somatic_validation/tests/test_extract_features.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
from pathlib import Path

import pandas as pd
from pandas.testing import assert_frame_equal

from ..extract_features import (
translate_legacy_targets,
Expand Down Expand Up @@ -57,4 +58,4 @@ def test_extract_efeatures():
for protocol in results:
results_df = features_df(results, protocol)
ground_truth_df = features_df(ground_truth, protocol)
assert results_df.equals(ground_truth_df)
assert_frame_equal(results_df, ground_truth_df)

0 comments on commit 4d5cd88

Please sign in to comment.