Skip to content

Commit

Permalink
Skip dtype comparison
Browse files Browse the repository at this point in the history
  • Loading branch information
wpreimes committed Nov 10, 2023
1 parent fa857b7 commit d7174ab
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions tests/test_plotter.py
Original file line number Diff line number Diff line change
Expand Up @@ -430,7 +430,7 @@ def test_bin_continuous():

assert binned.keys() == exp.keys()
for act, expected in zip(binned.values(), exp.values()):
pd.testing.assert_series_equal(act[act.columns[0]], expected)
pd.testing.assert_series_equal(act[act.columns[0]], expected, check_dtype=False)


def test_bin_classes():
Expand Down Expand Up @@ -458,7 +458,7 @@ def test_bin_discrete():
exp["instrument"] = data
exp["Dataset"] = "dataset"

pd.testing.assert_frame_equal(binned, exp)
pd.testing.assert_frame_equal(binned, exp, check_dtype=False)


def test_combine_soils():
Expand All @@ -477,7 +477,7 @@ def test_combine_soils():
exp = pd.DataFrame(data=["Coarse\ngran.", "Fine\ngran.", "Coarse\ngran."],
columns=["soil_type"])

pd.testing.assert_frame_equal(combined, exp)
pd.testing.assert_frame_equal(combined, exp, check_dtype=False)


def test_combine_depths():
Expand All @@ -496,7 +496,7 @@ def test_combine_depths():
data=np.full(10, 0.5),
columns=["instrument_depth"])

pd.testing.assert_frame_equal(combined, exp)
pd.testing.assert_frame_equal(combined, exp, check_dtype=False)


def test_dict2df():
Expand Down

0 comments on commit d7174ab

Please sign in to comment.