Skip to content

Commit

Permalink
Merge pull request #1507 from emlys/bugfix/1506
Browse files Browse the repository at this point in the history
Update tests for pandas 2.2.0
  • Loading branch information
dcdenu4 authored Jan 23, 2024
2 parents 523d1fb + 5665f25 commit f02c36a
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions tests/test_crop_production.py
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,8 @@ def test_crop_production_percentile(self):
agg_result_table = pandas.read_csv(
agg_result_table_path)
pandas.testing.assert_frame_equal(
expected_agg_result_table, agg_result_table, check_dtype=False)
expected_agg_result_table, agg_result_table,
check_dtype=False, check_exact=False)

expected_result_table = pandas.read_csv(
os.path.join(TEST_DATA_PATH, 'expected_result_table.csv')
Expand Down Expand Up @@ -316,7 +317,8 @@ def test_crop_production_regression(self):
agg_result_table = pandas.read_csv(
os.path.join(args['workspace_dir'], 'aggregate_results.csv'))
pandas.testing.assert_frame_equal(
expected_agg_result_table, agg_result_table, check_dtype=False)
expected_agg_result_table, agg_result_table,
check_dtype=False, check_exact=False)

result_table_path = os.path.join(
args['workspace_dir'], 'result_table.csv')
Expand Down

0 comments on commit f02c36a

Please sign in to comment.