Skip to content

Commit

Permalink
test: turned off check of dtype
Browse files Browse the repository at this point in the history
  • Loading branch information
timcera committed Jul 24, 2023
1 parent ae475a8 commit f02444e
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions tests/test_extract.py
Expand Up @@ -105,14 +105,14 @@ def test_extract_one_label_labellist_api(self):
)
otherout = tsutils.asbestfreq(
pd.read_csv(self.extract_api, header=0, index_col=0, parse_dates=True)
).astype("float64")
)
otherout.index = otherout.index.to_period()
assert_frame_equal(out, otherout)
assert_frame_equal(out, otherout, check_dtype=False)

def test_extract_one_label_labelstr_api(self):
out = hspfbintoolbox.extract("tests/data_yearly.hbn", "yearly", ",905,,AGWS")
otherout = tsutils.asbestfreq(
pd.read_csv(self.extract_api, header=0, index_col=0, parse_dates=True)
).astype("float64")
)
otherout.index = otherout.index.to_period()
assert_frame_equal(out, otherout)
assert_frame_equal(out, otherout, check_dtype=False)

0 comments on commit f02444e

Please sign in to comment.