Skip to content

Commit

Permalink
Fix expected result of test
Browse files Browse the repository at this point in the history
  • Loading branch information
vinaysraghavan authored Dec 10, 2024
1 parent 759ada9 commit 0edc81d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_data_object.py
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ def test_delete_trial_from_outstruct():
data = {'x':[1,2], 'y':[3,4], 'z':[5,6]}
outstruct = Data(data)
del outstruct[0]
assert outstruct[0] == {'x':[2], 'y':[4], 'z':[6]}
assert outstruct[0] == {'x': 2, 'y': 4, 'z': 6}

def test_create_outstruct_from_dict_different_lengths():
data = {'x': [np.array([1,2]), np.array([3,4])], 'y': ['y0', 'y1', 'y2']}
Expand Down

0 comments on commit 0edc81d

Please sign in to comment.