Skip to content

Commit

Permalink
Update base_tests_zarrio.py
Browse files Browse the repository at this point in the history
  • Loading branch information
mavaylon1 authored Nov 28, 2023
1 parent 50e4c60 commit ef71567
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/unit/base_tests_zarrio.py
Original file line number Diff line number Diff line change
Expand Up @@ -594,7 +594,7 @@ def test_write_attribute_write_unsupported_list_of_types(self):

def test_write_attributes_write_list_of_bytes(self):
"""
Test writing of lists of bytes. Bytes are not JSON serializable and therefore cover a differnt code path.
Test writing of lists of bytes. Bytes are not JSON serializable and therefore cover a different code path.
Note, bytes are here encoded as strings to the return value does not match exactly but the data type changes.
"""
val = self.__write_attribute_test_helper('attr', [b'a', b'b', b'c', b'd'], assert_value=False)
Expand Down Expand Up @@ -1301,7 +1301,7 @@ def test_append_data(self):
# create a foo with link to existing dataset my_data, add the foo to new foobucket
# this should make a soft link within the exported file
# TODO Assigning my_data is the problem. Which in turn causes the export to fail because the Zarr
# DataType is not being understood. This is where the External link should be cerated instead?
# DataType is not being understood. This is where the External link should be created instead?
foo2 = Foo('foo2', read_foofile.buckets['bucket1'].foos['foo1'].my_data, "I am foo2", 17, 3.14)
foobucket2 = FooBucket('bucket2', [foo2])
read_foofile.add_bucket(foobucket2)
Expand Down

0 comments on commit ef71567

Please sign in to comment.