Skip to content

Commit

Permalink
TST: Update test to accept numpy array as output values
Browse files Browse the repository at this point in the history
  • Loading branch information
cortadocodes committed May 7, 2024
1 parent 5ceafa7 commit 1d5e32f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ def test_asynchronous_question(self):
)

# Check the output values.
self.assertEqual(events[0]["event"]["output_values"], [1, 2, 3, 4, 5])
self.assertEqual(list(events[0]["event"]["output_values"]), [1, 2, 3, 4, 5])

# Check that the output dataset and its files can be accessed.
with events[0]["event"]["output_manifest"].datasets["example_dataset"].files.one() as (datafile, f):
Expand Down

0 comments on commit 1d5e32f

Please sign in to comment.