Skip to content

Commit

Permalink
Fix test that fails with pandas 2.1.1 (#71)
Browse files Browse the repository at this point in the history
  • Loading branch information
iainrussell committed Oct 18, 2023
1 parent 20b2cb1 commit b910e74
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions tests/test_40_sample_data.py
Original file line number Diff line number Diff line change
Expand Up @@ -745,7 +745,7 @@ def test_sat_compressed_1() -> None:
]

expected_first_row = {
"data_datetime": pd.Timestamp("2015-08-21 01:59:05"),
"data_datetime": pd.Timestamp("2015-08-21 01:59:05").as_unit("ns"),
"latitude": -44.83389,
"longitude": 171.1635,
"nonCoordinateLatitude": -44.82399,
Expand All @@ -755,7 +755,7 @@ def test_sat_compressed_1() -> None:
}

expected_second_row = {
"data_datetime": pd.Timestamp("2015-08-21 01:59:05"),
"data_datetime": pd.Timestamp("2015-08-21 01:59:05").as_unit("ns"),
"latitude": -44.83389,
"longitude": 171.1635,
"nonCoordinateLatitude": -44.82399,
Expand All @@ -765,7 +765,7 @@ def test_sat_compressed_1() -> None:
}

expected_12_row = {
"data_datetime": pd.Timestamp("2015-08-21 01:59:05"),
"data_datetime": pd.Timestamp("2015-08-21 01:59:05").as_unit("ns"),
"latitude": -44.83389,
"longitude": 171.1635,
"nonCoordinateLatitude": -44.82399,
Expand All @@ -775,7 +775,7 @@ def test_sat_compressed_1() -> None:
}

expected_13_row = {
"data_datetime": pd.Timestamp("2015-08-21 01:59:06"),
"data_datetime": pd.Timestamp("2015-08-21 01:59:06").as_unit("ns"),
"latitude": -44.77121,
"longitude": 171.1515,
"nonCoordinateLatitude": -44.76132,
Expand Down

0 comments on commit b910e74

Please sign in to comment.