Skip to content

Commit 43f5f14

Browse files
committed
cast to int64 for tests too
1 parent 6d9276e commit 43f5f14

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

tests/parsers/test_navdata.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1225,7 +1225,7 @@ def fixture_add_dataframe():
12251225
Dataframe that will be added to NavData
12261226
"""
12271227
add_data = {'names': np.asarray(['beta', 'alpha'], dtype=object),
1228-
'integers': np.asarray([-2, 45]),
1228+
'integers': np.asarray([-2, 45], dtype=np.int64),
12291229
'floats': np.asarray([1.4, 1.5869]),
12301230
'strings': np.asarray(['glonass', 'beidou'], dtype=object)}
12311231
add_df = pd.DataFrame(data=add_data)

tests/utils/test_time_conversions.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -205,7 +205,7 @@ def test_datetime_to_unix_millis():
205205
# Testing reverse conversion
206206
t_rev = tc.unix_millis_to_datetime(out_unix_millis)
207207
assert t_datetime == t_rev
208-
208+
209209

210210
def test_datetime_to_gps_millis():
211211
"""Test UTC datetime to milliseconds since GPS epoch conversion

0 commit comments

Comments
 (0)