From ef7156738fe6f0fd77cf9c0fca335b0dfa63e3ac Mon Sep 17 00:00:00 2001 From: Matthew Avaylon Date: Mon, 27 Nov 2023 17:39:09 -0800 Subject: [PATCH] Update base_tests_zarrio.py --- tests/unit/base_tests_zarrio.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/unit/base_tests_zarrio.py b/tests/unit/base_tests_zarrio.py index 440850af..880b58cc 100644 --- a/tests/unit/base_tests_zarrio.py +++ b/tests/unit/base_tests_zarrio.py @@ -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) @@ -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)