Skip to content

Commit

Permalink
Update test_build_datetime.py
Browse files Browse the repository at this point in the history
  • Loading branch information
mavaylon1 authored Sep 3, 2024
1 parent b253732 commit e585400
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions tests/unit/build_tests/mapper_tests/test_build_datetime.py
Original file line number Diff line number Diff line change
Expand Up @@ -67,9 +67,8 @@ def test_datetime_array(self):
bar_inst = Bar(name='my_bar', data=[datetime(2023, 7, 9), datetime(2023, 7, 10)])
builder = type_map.build(bar_inst)
ret = builder.get('data')
# breakpoint()
assert ret.data == [b'2023-07-09T00:00:00', b'2023-07-10T00:00:00']
# assert ret.dtype == 'ascii'
assert ret.dtype == 'ascii'

def test_date_array(self):
bar_spec = GroupSpec(
Expand Down

0 comments on commit e585400

Please sign in to comment.