hdmf-dev / hdmf

The Hierarchical Data Modeling Framework
http://hdmf.readthedocs.io
Other
47 stars 26 forks source link

some tests fail when it is being built. #414

Closed lbazan closed 3 years ago

lbazan commented 4 years ago
Status: Pass: 683 Failure: 3 Error: 2 Description: Summary: +---------------------------------------------------------------------+-------+------+------+-------+ Test group/Test case Count Pass Fail Error +---------------------------------------------------------------------+-------+------+------+-------+ back_compat_tests.test_1_1_0.Test1_1_0 2 0 0 2 build_tests.mapper_tests.test_build.TestBuildDatasetAddedAttrs 1 1 0 0 build_tests.mapper_tests.test_build.TestBuildDatasetNotRefinedDtype 2 2 0 0 build_tests.mapper_tests.test_build.TestBuildDatasetRefinedDtype 1 1 0 0 build_tests.mapper_tests.test_build.TestBuildGroupAddedAttr 1 1 0 0 build_tests.mapper_tests.test_build.TestBuildGroupRefinedAttr 1 1 0 0 build_tests.test_io_build_builders.DatasetBuilderDeepUpdateTests 2 2 0 0 build_tests.test_io_build_builders.GroupBuilderDeepUpdateTests 8 8 0 0 build_tests.test_io_build_builders.GroupBuilderGetterTests 18 18 0 0 build_tests.test_io_build_builders.GroupBuilderIsEmptyTests 6 6 0 0 build_tests.test_io_build_builders.GroupBuilderSetterTests: 8 8 0 0 Tests for setter functions in GroupBuilder class build_tests.test_io_manager.TestBuildManager 4 4 0 0 build_tests.test_io_manager.TestNestedContainersNoSubgroups 2 2 0 0 build_tests.test_io_manager.TestNestedContainersSubgroup 2 2 0 0 build_tests.test_io_manager.TestNestedContainersSubgroupSubgroup 2 2 0 0 build_tests.test_io_manager.TestTypeMap 2 2 0 0 build_tests.test_io_map.TestConvertDtype 17 17 0 0 build_tests.test_io_map.TestDynamicContainer 11 11 0 0 build_tests.test_io_map.TestGetSubSpec 2 2 0 0 build_tests.test_io_map.TestLinkedContainer 2 2 0 0 build_tests.test_io_map.TestMapStrings 3 3 0 0 build_tests.test_io_map.TestMissingRequiredAttribute 2 2 0 0 build_tests.test_io_map.TestObjectMapperContainer 2 2 0 0 build_tests.test_io_map.TestObjectMapperNested 5 5 0 0 build_tests.test_io_map.TestObjectMapperNoNesting 5 5 0 0 build_tests.test_io_map.TestReference 2 2 0 0 build_tests.test_io_map.TestTypeMap 3 3 0 0 build_tests.test_io_map_data.TestDataMap 3 3 0 0 common.test_common.TestCommonTypeMap 1 1 0 0 common.test_sparse.TestCSRMatrix 2 2 0 0 common.test_sparse.TestCSRMatrixRoundTrip 2 2 0 0 common.test_table.TestDTDoubleIndex 4 4 0 0 common.test_table.TestDTDoubleIndexSkipMiddle 1 1 0 0 common.test_table.TestDataIOColumns 2 2 0 0 common.test_table.TestDataIOIndex 2 2 0 0 common.test_table.TestDoubleIndex 1 1 0 0 common.test_table.TestDoubleIndexRoundtrip 2 2 0 0 common.test_table.TestDynamicTable 48 48 0 0 common.test_table.TestDynamicTableAddIndexRoundTrip 2 2 0 0 common.test_table.TestDynamicTableClassColumns: 20 20 0 0 Test functionality related to the predefined columns field of a DynamicTable class. common.test_table.TestDynamicTableInitIndexRoundTrip 2 2 0 0 common.test_table.TestDynamicTableRegion 14 14 0 0 common.test_table.TestDynamicTableRoundTrip 2 2 0 0 common.test_table.TestElementIdentifiers 8 8 0 0 common.test_table.TestEmptyDynamicTableRoundTrip: 2 2 0 0 Test roundtripping a DynamicTable with no rows and no columns. common.test_table.TestIndexing 6 6 0 0 common.test_table.TestVectorIndex 2 2 0 0 common.test_table.TestVocabData 9 9 0 0 spec_tests.test_attribute_spec.AttributeSpecTests 7 7 0 0 spec_tests.test_dataset_spec.DatasetSpecTests 16 16 0 0 spec_tests.test_dtype_spec.DtypeSpecHelper 3 3 0 0 spec_tests.test_dtype_spec.DtypeSpecTests 6 6 0 0 spec_tests.test_group_spec.GroupSpecTests 10 10 0 0 spec_tests.test_load_namespace.TestSpecLoad 2 2 0 0 spec_tests.test_load_namespace.TestSpecLoadEdgeCase 5 5 0 0 spec_tests.test_ref_spec.RefSpecTests 3 3 0 0 spec_tests.test_spec_catalog.SpecCatalogTest 9 9 0 0 spec_tests.test_spec_write.TestExportSpec 2 2 0 0 spec_tests.test_spec_write.TestNamespaceBuilder 5 5 0 0 spec_tests.test_spec_write.TestYAMLSpecWrite 3 3 0 0 test_container.TestContainer 18 18 0 0 test_container.TestData 5 5 0 0 test_io_hdf5.TestHDF5Writer 6 6 0 0 test_io_hdf5_h5tools.H5DataIOValid 3 3 0 0 test_io_hdf5_h5tools.H5IOTest: 40 37 3 0 Tests for h5tools IO tools test_io_hdf5_h5tools.HDF5IOInitFileExistsTest: 3 3 0 0 Test if file exists, init with mode w-/x throws error, all others succeed test_io_hdf5_h5tools.HDF5IOInitNoFileTest: 3 3 0 0 Test if file does not exist, init with mode (r, r+) throws error, all others succeed test_io_hdf5_h5tools.HDF5IOMultiFileTest: 1 1 0 0 Tests for h5tools IO tools test_io_hdf5_h5tools.HDF5IOReadBuilderClosed: 1 1 0 0 Test if file exists but is closed, then read_builder raises an error. test_io_hdf5_h5tools.HDF5IOReadData: 2 2 0 0 Test if file exists and there is no data, read in mode (r, r+, a) is ok test_io_hdf5_h5tools.HDF5IOReadNoDataTest: 3 3 0 0 Test if file exists and there is no data, read with mode (r, r+, a) throws error test_io_hdf5_h5tools.HDF5IOWriteFileExists: 4 4 0 0 Test if file exists, write in mode (r+, w, a) is ok and write in mode r throws error test_io_hdf5_h5tools.HDF5IOWriteNoFile: 4 4 0 0 Test if file does not exist, write in mode (w, w-, x, a) is ok test_io_hdf5_h5tools.TestBuildWriteLinkToLink 2 2 0 0 test_io_hdf5_h5tools.TestCacheSpec 1 1 0 0 test_io_hdf5_h5tools.TestCloseLinks 2 2 0 0 test_io_hdf5_h5tools.TestCpdDatasetRefs 1 1 0 0 test_io_hdf5_h5tools.TestDatasetRefs 1 1 0 0 test_io_hdf5_h5tools.TestExport: 22 22 0 0 Test exporting HDF5 to HDF5 using HDF5IO.export_container_to_hdf5. test_io_hdf5_h5tools.TestHDF5IO 2 2 0 0 test_io_hdf5_h5tools.TestLinkData 2 2 0 0 test_io_hdf5_h5tools.TestLoadNamespaces 7 7 0 0 test_io_hdf5_h5tools.TestMultiWrite 5 5 0 0 test_io_hdf5_h5tools.TestNoCacheSpec 1 1 0 0 test_io_hdf5_h5tools.TestReadLink 4 4 0 0 test_io_hdf5_h5tools.TestRoundTrip 3 3 0 0 test_io_hdf5_h5tools.TestWritten 1 1 0 0 test_query.LinspaceQueryTest 9 9 0 0 test_query.SortedQueryTest 9 9 0 0 utils_test.test_core_DataChunk.DataChunkTests 3 3 0 0 utils_test.test_core_DataChunkIterator.DataChunkIteratorTests 27 27 0 0 utils_test.test_core_DataChunkIterator.DataChunkTests 4 4 0 0 utils_test.test_core_DataIO.DataIOTests 5 5 0 0 utils_test.test_core_ShapeValidator.ShapeValidatorResultTests 3 3 0 0 utils_test.test_core_ShapeValidator.ShapeValidatorTests 12 12 0 0 utils_test.test_docval.TestDocValidator 64 64 0 0 utils_test.test_docval.TestDocValidatorChain 10 10 0 0 utils_test.test_docval.TestGetargs: 10 10 0 0 Test the getargs function and its error conditions. utils_test.test_docval.TestPopargs: 10 10 0 0 Test the popargs function and its error conditions. utils_test.test_labelleddict.TestLabelledDict 20 20 0 0 utils_test.test_utils.TestGetDataShape 11 11 0 0 validator_tests.test_validate.Test1DArrayValidation 3 3 0 0 validator_tests.test_validate.TestBasicSpec 4 4 0 0 validator_tests.test_validate.TestDateTimeInSpec 3 3 0 0 validator_tests.test_validate.TestDtypeValidation 6 6 0 0 validator_tests.test_validate.TestEmptySpec 2 2 0 0 validator_tests.test_validate.TestNestedTypes 4 4 0 0
Total 688 683 3 2
+---------------------------------------------------------------------+-------+------+------+-------+
back_compat_tests.test_1_1_0.Test1_1_0
    +--------------------------------------------------------------+--------------------------------------------------------------------------------------------------------------+-------------+
    |                          Test name                           |                                                    Output                                                    |    Status   |
    +--------------------------------------------------------------+--------------------------------------------------------------------------------------------------------------+-------------+
    | test_append_1_0_5:                                           | Failed to find converter for 8 -> b'PYTHON:OBJECT'                                                           | error       |
    |     Test whether we can append to files made by hdmf version | Failed to find converter for 8 -> b'PYTHON:OBJECT'                                                           |             |
    |     1.0.5                                                    | Failed to find converter for 8 -> b'PYTHON:OBJECT'                                                           |             |
    |                                                              | Failed to find converter for 8 -> b'PYTHON:OBJECT'                                                           |             |
    |                                                              | Failed to find converter for 8 -> b'PYTHON:OBJECT'                                                           |             |
    |                                                              | Failed to find converter for 8 -> b'PYTHON:OBJECT'                                                           |             |
    |                                                              | Failed to find converter for 8 -> b'PYTHON:OBJECT'TypeError: GroupBuilder.set_attribute: None is not allowed |             |
    |                                                              | for 'value' (expected 'any type', not None)                                                                  |             |
    |                                                              |                                                                                                              |             |
    | test_read_1_0_5:                                             | Failed to find converter for 8 -> b'PYTHON:OBJECT'                                                           | error       |
    |     Test whether we can read files made by hdmf version      | Failed to find converter for 8 -> b'PYTHON:OBJECT'                                                           |             |
    |     1.0.5                                                    | Failed to find converter for 8 -> b'PYTHON:OBJECT'                                                           |             |
    |                                                              | Failed to find converter for 8 -> b'PYTHON:OBJECT'                                                           |             |
    |                                                              | Failed to find converter for 8 -> b'PYTHON:OBJECT'                                                           |             |
    |                                                              | Failed to find converter for 8 -> b'PYTHON:OBJECT'                                                           |             |
    |                                                              | Failed to find converter for 8 -> b'PYTHON:OBJECT'TypeError: GroupBuilder.set_attribute: None is not allowed |             |
    |                                                              | for 'value' (expected 'any type', not None)                                                                  |             |
    |                                                              |                                                                                                              |             |
    +--------------------------------------------------------------+--------------------------------------------------------------------------------------------------------------+-------------+
ERROR in test test_append_1_0_5 (back_compat_tests.test_1_1_0.Test1_1_0): Traceback (most recent call last): File "/builddir/build/BUILD/hdmf-2.0.1/tests/unit/back_compat_tests/test_1_1_0.py", line 40, in test_append_1_0_5 read_foofile = io.read() File "/builddir/build/BUILDROOT/python-hdmf-2.0.1-1.fc33.noarch/usr/lib/python3.9/site-packages/hdmf/backends/hdf5/h5tools.py", line 414, in read return call_docval_func(super().read, kwargs) File "/builddir/build/BUILDROOT/python-hdmf-2.0.1-1.fc33.noarch/usr/lib/python3.9/site-packages/hdmf/utils.py", line 404, in call_docval_func return func(fargs, fkwargs) File "/builddir/build/BUILDROOT/python-hdmf-2.0.1-1.fc33.noarch/usr/lib/python3.9/site-packages/hdmf/utils.py", line 560, in func_call return func(args[0], pargs) File "/builddir/build/BUILDROOT/python-hdmf-2.0.1-1.fc33.noarch/usr/lib/python3.9/site-packages/hdmf/backends/io.py", line 32, in read f_builder = self.read_builder() File "/builddir/build/BUILDROOT/python-hdmf-2.0.1-1.fc33.noarch/usr/lib/python3.9/site-packages/hdmf/utils.py", line 560, in func_call return func(args[0], pargs) File "/builddir/build/BUILDROOT/python-hdmf-2.0.1-1.fc33.noarch/usr/lib/python3.9/site-packages/hdmf/backends/hdf5/h5tools.py", line 431, in read_builder f_builder = self.read_group(self.__file, ROOT_NAME, ignore=ignore) File "/builddir/build/BUILDROOT/python-hdmf-2.0.1-1.fc33.noarch/usr/lib/python3.9/site-packages/hdmf/backends/hdf5/h5tools.py", line 574, in read_group builder = read_method(sub_h5obj) File "/builddir/build/BUILDROOT/python-hdmf-2.0.1-1.fc33.noarch/usr/lib/python3.9/site-packages/hdmf/backends/hdf5/h5tools.py", line 574, in read_group builder = read_method(sub_h5obj) File "/builddir/build/BUILDROOT/python-hdmf-2.0.1-1.fc33.noarch/usr/lib/python3.9/site-packages/hdmf/backends/hdf5/h5tools.py", line 574, in __read_group builder = read_method(sub_h5obj) [Previous line repeated 1 more time] File "/builddir/build/BUILDROOT/python-hdmf-2.0.1-1.fc33.noarch/usr/lib/python3.9/site-packages/hdmf/backends/hdf5/h5tools.py", line 582, in read_group ret = GroupBuilder(name, kwargs) File "/builddir/build/BUILDROOT/python-hdmf-2.0.1-1.fc33.noarch/usr/lib/python3.9/site-packages/hdmf/utils.py", line 560, in func_call return func(args[0], pargs) File "/builddir/build/BUILDROOT/python-hdmf-2.0.1-1.fc33.noarch/usr/lib/python3.9/site-packages/hdmf/build/builders.py", line 158, in init super().init(name, attributes, parent, source) File "/builddir/build/BUILDROOT/python-hdmf-2.0.1-1.fc33.noarch/usr/lib/python3.9/site-packages/hdmf/utils.py", line 560, in func_call return func(args[0], pargs) File "/builddir/build/BUILDROOT/python-hdmf-2.0.1-1.fc33.noarch/usr/lib/python3.9/site-packages/hdmf/build/builders.py", line 94, in init self.set_attribute(name, val) File "/builddir/build/BUILDROOT/python-hdmf-2.0.1-1.fc33.noarch/usr/lib/python3.9/site-packages/hdmf/utils.py", line 559, in func_call pargs = _check_args(args, kwargs) File "/builddir/build/BUILDROOT/python-hdmf-2.0.1-1.fc33.noarch/usr/lib/python3.9/site-packages/hdmf/utils.py", line 552, in _check_args raise ExceptionType(msg) TypeError: GroupBuilder.set_attribute: None is not allowed for 'value' (expected 'any type', not None) ERROR in test test_read_1_0_5 (back_compat_tests.test_1_1_0.Test1_1_0): Traceback (most recent call last): File "/builddir/build/BUILD/hdmf-2.0.1/tests/unit/back_compat_tests/test_1_1_0.py", line 29, in test_read_1_0_5 read_foofile = io.read() File "/builddir/build/BUILDROOT/python-hdmf-2.0.1-1.fc33.noarch/usr/lib/python3.9/site-packages/hdmf/backends/hdf5/h5tools.py", line 414, in read return call_docval_func(super().read, kwargs) File "/builddir/build/BUILDROOT/python-hdmf-2.0.1-1.fc33.noarch/usr/lib/python3.9/site-packages/hdmf/utils.py", line 404, in call_docval_func return func(fargs, fkwargs) File "/builddir/build/BUILDROOT/python-hdmf-2.0.1-1.fc33.noarch/usr/lib/python3.9/site-packages/hdmf/utils.py", line 560, in func_call return func(args[0], pargs) File "/builddir/build/BUILDROOT/python-hdmf-2.0.1-1.fc33.noarch/usr/lib/python3.9/site-packages/hdmf/backends/io.py", line 32, in read f_builder = self.read_builder() File "/builddir/build/BUILDROOT/python-hdmf-2.0.1-1.fc33.noarch/usr/lib/python3.9/site-packages/hdmf/utils.py", line 560, in func_call return func(args[0], pargs) File "/builddir/build/BUILDROOT/python-hdmf-2.0.1-1.fc33.noarch/usr/lib/python3.9/site-packages/hdmf/backends/hdf5/h5tools.py", line 431, in read_builder f_builder = self.read_group(self.__file, ROOT_NAME, ignore=ignore) File "/builddir/build/BUILDROOT/python-hdmf-2.0.1-1.fc33.noarch/usr/lib/python3.9/site-packages/hdmf/backends/hdf5/h5tools.py", line 574, in read_group builder = read_method(sub_h5obj) File "/builddir/build/BUILDROOT/python-hdmf-2.0.1-1.fc33.noarch/usr/lib/python3.9/site-packages/hdmf/backends/hdf5/h5tools.py", line 574, in read_group builder = read_method(sub_h5obj) File "/builddir/build/BUILDROOT/python-hdmf-2.0.1-1.fc33.noarch/usr/lib/python3.9/site-packages/hdmf/backends/hdf5/h5tools.py", line 574, in __read_group builder = read_method(sub_h5obj) [Previous line repeated 1 more time] File "/builddir/build/BUILDROOT/python-hdmf-2.0.1-1.fc33.noarch/usr/lib/python3.9/site-packages/hdmf/backends/hdf5/h5tools.py", line 582, in read_group ret = GroupBuilder(name, kwargs) File "/builddir/build/BUILDROOT/python-hdmf-2.0.1-1.fc33.noarch/usr/lib/python3.9/site-packages/hdmf/utils.py", line 560, in func_call return func(args[0], pargs) File "/builddir/build/BUILDROOT/python-hdmf-2.0.1-1.fc33.noarch/usr/lib/python3.9/site-packages/hdmf/build/builders.py", line 158, in init super().init(name, attributes, parent, source) File "/builddir/build/BUILDROOT/python-hdmf-2.0.1-1.fc33.noarch/usr/lib/python3.9/site-packages/hdmf/utils.py", line 560, in func_call return func(args[0], pargs) File "/builddir/build/BUILDROOT/python-hdmf-2.0.1-1.fc33.noarch/usr/lib/python3.9/site-packages/hdmf/build/builders.py", line 94, in init self.set_attribute(name, val) File "/builddir/build/BUILDROOT/python-hdmf-2.0.1-1.fc33.noarch/usr/lib/python3.9/site-packages/hdmf/utils.py", line 559, in func_call pargs = _check_args(args, kwargs) File "/builddir/build/BUILDROOT/python-hdmf-2.0.1-1.fc33.noarch/usr/lib/python3.9/site-packages/hdmf/utils.py", line 552, in _check_args raise ExceptionType(msg) TypeError: GroupBuilder.set_attribute: None is not allowed for 'value' (expected 'any type', not None) build_tests.mapper_tests.test_build.TestBuildDatasetAddedAttrs +-----------------------------------------------------------+--------+------------+ Test name Output Status +-----------------------------------------------------------+--------+------------+ test_build_added_attr: pass Test build of BarHolder which can contain multiple extended BarData objects, which have a new attribute. +-----------------------------------------------------------+--------+------------+ build_tests.mapper_tests.test_build.TestBuildDatasetNotRefinedDtype +-----------------------------------------------------------+--------+------------+ Test name Output Status +-----------------------------------------------------------+--------+------------+ test_build_correct_dtype: pass Test build of BarDataHolder which contains a BarData. test_build_incorrect_dtype: pass Test build of BarDataHolder which contains a BarData +-----------------------------------------------------------+--------+------------+ build_tests.mapper_tests.test_build.TestBuildDatasetRefinedDtype +----------------------------------------------------------+--------+------------+ Test name Output Status +----------------------------------------------------------+--------+------------+ test_build_refined_dtype_convert: pass Test build of BarDataHolder which contains a BarData with data that needs to be converted to the refined dtype. +----------------------------------------------------------+--------+------------+ build_tests.mapper_tests.test_build.TestBuildGroupAddedAttr +--------------------------------------------------------+--------+------------+ Test name Output Status +--------------------------------------------------------+--------+------------+ test_build_added_attr: pass Test build of BarHolder which can contain multiple extended Bar objects, which have a new attribute. +--------------------------------------------------------+--------+------------+ build_tests.mapper_tests.test_build.TestBuildGroupRefinedAttr +--------------------------------------------------------+--------+------------+ Test name Output Status +--------------------------------------------------------+--------+------------+ test_build_refined_attr: pass Test build of BarHolder which can contain multiple extended Bar objects, which have a modified attr2. +--------------------------------------------------------+--------+------------+ build_tests.test_io_build_builders.DatasetBuilderDeepUpdateTests +-------------------+--------+------------+ Test name Output Status +-------------------+--------+------------+ test_no_overwrite pass test_overwrite pass +-------------------+--------+------------+ build_tests.test_io_build_builders.GroupBuilderDeepUpdateTests +------------------------------------+--------+------------+ Test name Output Status +------------------------------------+--------+------------+ test_intersecting_attributes pass test_intersecting_datasets pass test_intersecting_links pass test_intersecting_subgroups pass test_mutually_exclusive_attributes pass test_mutually_exclusive_datasets pass test_mutually_exclusive_links pass test_mutually_exclusive_subgroups pass +------------------------------------+--------+------------+ build_tests.test_io_build_builders.GroupBuilderGetterTests +------------------------------------------------------+--------+------------+ Test name Output Status +------------------------------------------------------+--------+------------+ test_get_attr1: pass Test get() for attributes test_get_attr2: pass Test get() for attributes test_get_dataset: pass Test get() for datasets test_get_group: pass Test get() for groups test_get_group_subgroup1: pass Test get() for groups deeper in hierarchy test_get_invalid_key: pass Test get() for invalid key test_get_item_attr1: pass Test __get_item__ for attributes test_get_item_attr2: pass Test __get_item__ for attributes test_get_item_dataset: pass Test __get_item__ for datasets test_get_item_fcn_soft_link: pass Test get() for soft links test_get_item_group: pass Test __get_item__ for groups test_get_item_group_subgroup1: pass Test __get_item__ for groups deeper in hierarchy test_get_item_invalid_key: pass Test __get_item__ for invalid key test_get_item_soft_link: pass Test __get_item__ for soft links test_items: pass Test items() test_keys: pass Test keys() test_path pass test_values: pass Test values() +------------------------------------------------------+--------+------------+ build_tests.test_io_build_builders.GroupBuilderIsEmptyTests +--------------------------------------------------------------+--------+------------+ Test name Output Status +--------------------------------------------------------------+--------+------------+ test_is_empty_false_attribute: pass Test is_empty() when group has an attribute test_is_empty_false_dataset: pass Test is_empty() when group has a dataset test_is_empty_false_group_attribute: pass Test is_empty() when group has subgroup with an attribute test_is_empty_false_group_dataset: pass Test is_empty() when group has a subgroup with a dataset test_is_empty_true: pass Test empty when group has nothing in it test_is_empty_true_group: pass Test is_empty() when group has an empty subgroup +--------------------------------------------------------------+--------+------------+ build_tests.test_io_build_builders.GroupBuilderSetterTests +-----------------------------------+--------+------------+ Test name Output Status +-----------------------------------+--------+------------+ test_add_dataset pass test_add_external_link pass test_add_group pass test_add_link pass test_parent_constructor pass test_set_attribute pass test_set_group pass test_setitem_disabled: pass Test __set_item__ is disabled +-----------------------------------+--------+------------+ build_tests.test_io_manager.TestBuildManager +----------------------------+--------+------------+ Test name Output Status +----------------------------+--------+------------+ test_build pass test_build_memoization pass test_construct pass test_construct_memoization pass +----------------------------+--------+------------+ build_tests.test_io_manager.TestNestedContainersNoSubgroups +-------------------------------------------------------+--------+------------+ Test name Output Status +-------------------------------------------------------+--------+------------+ test_build: pass Test default mapping for an Container that has an Container as an attribute value test_construct pass +-------------------------------------------------------+--------+------------+ build_tests.test_io_manager.TestNestedContainersSubgroup +-------------------------------------------------------+--------+------------+ Test name Output Status +-------------------------------------------------------+--------+------------+ test_build: pass Test default mapping for an Container that has an Container as an attribute value test_construct pass +-------------------------------------------------------+--------+------------+ build_tests.test_io_manager.TestNestedContainersSubgroupSubgroup +-------------------------------------------------------+--------+------------+ Test name Output Status +-------------------------------------------------------+--------+------------+ test_build: pass Test default mapping for an Container that has an Container as an attribute value test_construct pass +-------------------------------------------------------+--------+------------+ build_tests.test_io_manager.TestTypeMap +------------------------+--------+------------+ Test name Output Status +------------------------+--------+------------+ test_get_ns_dt pass test_get_ns_dt_missing pass +------------------------+--------+------------+ build_tests.test_io_map.TestConvertDtype +-----------------------------------------------------------+--------+------------+ Test name Output Status +-----------------------------------------------------------+--------+------------+ test_ascii_spec pass test_bool_spec pass test_convert_to_64bit_spec: pass Test that if given any value for a spec with a 64-bit dtype, convert_dtype will convert to the spec type. test_convert_to_bool_spec: pass Test conversion of various types to bool. test_convert_to_float32_spec: pass Test conversion of various types to float32. test_convert_to_int16_spec: pass Test conversion of various types to int16. test_convert_to_int32_spec: pass Test conversion of various types to int32. test_convert_to_uint16_spec: pass Test conversion of various types to uint16. test_convert_to_uint32_spec: pass Test conversion of various types to uint32. test_no_spec pass test_numeric_spec pass test_override_type_int_restrict_precision pass test_override_type_none_to_bool pass test_override_type_numeric_to_uint pass test_override_type_numeric_to_uint_list pass test_text_spec pass test_value_none pass +-----------------------------------------------------------+--------+------------+ build_tests.test_io_map.TestDynamicContainer +------------------------------------------------------+--------+------------+ Test name Output Status +------------------------------------------------------+--------+------------+ test_dynamic_container_composition pass test_dynamic_container_composition_missing_type pass test_dynamic_container_composition_reverse_order pass test_dynamic_container_constructor pass test_dynamic_container_constructor_name pass test_dynamic_container_constructor_name_default_name pass test_dynamic_container_creation pass test_dynamic_container_creation_defaults pass test_dynamic_container_default_name pass test_dynamic_container_numeric pass test_dynamic_container_uint pass +------------------------------------------------------+--------+------------+ build_tests.test_io_map.TestGetSubSpec +-----------------------------------+--------+------------+ Test name Output Status +-----------------------------------+--------+------------+ test_get_subspec_data_type_noname pass test_get_subspec_named pass +-----------------------------------+--------+------------+ build_tests.test_io_map.TestLinkedContainer +------------------------------------------------------------+--------+------------+ Test name Output Status +------------------------------------------------------------+--------+------------+ test_build_broken_link_no_parent: pass Test that building a container with a broken link that has no parent raises an error. test_build_child_link: pass Test default mapping functionality when one container contains a child link to another container +------------------------------------------------------------+--------+------------+ build_tests.test_io_map.TestMapStrings +-------------------+--------+------------+ Test name Output Status +-------------------+--------+------------+ test_build_1d pass test_build_dataio pass test_build_scalar pass +-------------------+--------+------------+ build_tests.test_io_map.TestMissingRequiredAttribute +-----------------------------------------------------------+--------+------------+ Test name Output Status +-----------------------------------------------------------+--------+------------+ test_required_attr_missing: pass Test mapping when one container is missing a required attribute reference test_required_attr_ref_missing: pass Test mapping when one container is missing a required attribute reference +-----------------------------------------------------------+--------+------------+ build_tests.test_io_map.TestObjectMapperContainer +---------------------------+--------+------------+ Test name Output Status +---------------------------+--------+------------+ test_default_mapping pass test_default_mapping_keys pass +---------------------------+--------+------------+ build_tests.test_io_map.TestObjectMapperNested +----------------------------------------------------+--------+------------+ Test name Output Status +----------------------------------------------------+--------+------------+ test_build: pass Test default mapping functionality when object attributes map to an attribute deeper test_construct: pass Test default mapping functionality when object attributes map to an attribute test_default_mapping pass test_default_mapping_keys pass test_remap_keys pass +----------------------------------------------------+--------+------------+ build_tests.test_io_map.TestObjectMapperNoNesting +-----------------------------------------------------------+--------+------------+ Test name Output Status +-----------------------------------------------------------+--------+------------+ test_build: pass Test default mapping functionality when no attributes are nested test_build_empty: pass Test default mapping functionality when no attributes are nested test_construct pass test_default_mapping pass test_default_mapping_keys pass +-----------------------------------------------------------+--------+------------+ build_tests.test_io_map.TestReference +-----------------------------------------------------------+--------+------------+ Test name Output Status +-----------------------------------------------------------+--------+------------+ test_build_attr_ref: pass Test default mapping functionality when one container contains an attribute reference to another container. test_build_attr_ref_invalid: pass Test default mapping functionality when one container contains an attribute reference to another container. +-----------------------------------------------------------+--------+------------+ build_tests.test_io_map.TestTypeMap +-----------------------------+--------+------------+ Test name Output Status +-----------------------------+--------+------------+ test_get_map pass test_get_map_register pass test_get_map_unique_mappers pass +-----------------------------+--------+------------+ build_tests.test_io_map_data.TestDataMap +-----------------------------------------------------------+--------+------------+ Test name Output Status +-----------------------------------------------------------+--------+------------+ test_append pass test_build: pass Test default mapping functionality when no attributes are nested test_extend pass +-----------------------------------------------------------+--------+------------+ common.test_common.TestCommonTypeMap +-----------------+--------+------------+ Test name Output Status +-----------------+--------+------------+ test_base_types pass +-----------------+--------+------------+ common.test_sparse.TestCSRMatrix +-------------------------+--------+------------+ Test name Output Status +-------------------------+--------+------------+ test_from_sparse_matrix pass test_to_spmat pass +-------------------------+--------+------------+ common.test_sparse.TestCSRMatrixRoundTrip +-------------------------------------------------------------+--------+------------+ Test name Output Status +-------------------------------------------------------------+--------+------------+ test_roundtrip: pass Test whether the container read from a written file is the same as the original file. test_roundtrip_export: pass Test whether the container read from a written and then exported file is the same as the original file. +-------------------------------------------------------------+--------+------------+ common.test_table.TestDTDoubleIndex +------------------------------------+--------+------------+ Test name Output Status +------------------------------------+--------+------------+ test_double_index pass test_double_index_colnames pass test_double_index_reverse pass test_double_index_reverse_colnames pass +------------------------------------+--------+------------+ common.test_table.TestDTDoubleIndexSkipMiddle +------------+--------+------------+ Test name Output Status +------------+--------+------------+ test_index pass +------------+--------+------------+ common.test_table.TestDataIOColumns +-------------------------------------------------------------+--------+------------+ Test name Output Status +-------------------------------------------------------------+--------+------------+ test_roundtrip pass test_roundtrip_export: pass Test whether the container read from a written and then exported file is the same as the original file. +-------------------------------------------------------------+--------+------------+ common.test_table.TestDataIOIndex +-------------------------------------------------------------+--------+------------+ Test name Output Status +-------------------------------------------------------------+--------+------------+ test_roundtrip pass test_roundtrip_export: pass Test whether the container read from a written and then exported file is the same as the original file. +-------------------------------------------------------------+--------+------------+ common.test_table.TestDoubleIndex +------------+--------+------------+ Test name Output Status +------------+--------+------------+ test_index pass +------------+--------+------------+ common.test_table.TestDoubleIndexRoundtrip +-------------------------------------------------------------+--------+------------+ Test name Output Status +-------------------------------------------------------------+--------+------------+ test_roundtrip: pass Test whether the container read from a written file is the same as the original file. test_roundtrip_export: pass Test whether the container read from a written and then exported file is the same as the original file. +-------------------------------------------------------------+--------+------------+ common.test_table.TestDynamicTable +--------------------------------------------------------------+--------+------------+ Test name Output Status +--------------------------------------------------------------+--------+------------+ test_add_column pass test_add_column_existing_attr pass test_add_column_twice pass test_add_column_vectorindex pass test_add_row pass test_bad_id_type_error pass test_colnames_none pass test_constructor_ElementIdentifier_ids pass test_constructor_bad_columns pass test_constructor_colnames: pass Test that passing colnames correctly sets the order of the columns. test_constructor_colnames_no_columns: pass Test that passing colnames without columns raises an error. test_constructor_colnames_vectorindex: pass Test that passing colnames with a VectorIndex column puts the index in the right location in columns. test_constructor_colnames_vectorindex_rev: pass Test that passing colnames with a VectorIndex column puts the index in the right location in columns. test_constructor_dup_index: pass Test that passing two indices for the same column raises an error. test_constructor_ids pass test_constructor_ids_bad_ids pass test_constructor_ids_default pass test_constructor_index_missing_target: pass Test that passing an index without its target raises an error. test_constructor_spec pass test_constructor_table_columns pass test_constructor_unequal_length_columns pass test_enforce_unique_id_error pass test_extra_columns pass test_from_dataframe pass test_from_dataframe_dup_attr: pass Test that when a DynamicTable is generated from a dataframe where one of the column names is an existing test_from_dataframe_eq pass test_get pass test_get_item pass test_get_not_found pass test_get_not_found_default pass test_getitem_col_select_and_row_slice pass test_getitem_column pass test_getitem_invalid_keytype pass test_getitem_list_idx pass test_getitem_point_idx pass test_getitem_point_idx_colidx pass test_getitem_point_idx_colname pass test_getitem_row_num pass test_getitem_row_slice pass test_getitem_row_slice_with_step pass test_id_search pass test_init_columns_existing_attr pass test_missing_columns pass test_nd_array_to_df pass test_not_enforce_unique_id_error pass test_pandas_roundtrip pass test_repr pass test_to_dataframe pass +--------------------------------------------------------------+--------+------------+ common.test_table.TestDynamicTableAddIndexRoundTrip +-------------------------------------------------------------+--------+------------+ Test name Output Status +-------------------------------------------------------------+--------+------------+ test_roundtrip: pass Test whether the container read from a written file is the same as the original file. test_roundtrip_export: pass Test whether the container read from a written and then exported file is the same as the original file. +-------------------------------------------------------------+--------+------------+ common.test_table.TestDynamicTableClassColumns +--------------------------------------------------------------+--------+------------+ Test name Output Status +--------------------------------------------------------------+--------+------------+ test_add_opt_column: pass Test that adding an optional column from columns with matching specs except for description works. test_add_opt_column_after_data: pass Test that adding an optional column from columns with data works. test_add_opt_column_mismatched_index_data: pass Test that adding an optional column from columns with non-matched table raises a warning. test_add_opt_column_mismatched_index_true: pass Test that adding an optional column from columns with non-matched table raises a warning. test_add_opt_column_mismatched_table_table: pass Test that adding an optional column from columns with non-matched table raises a warning. test_add_opt_column_mismatched_table_true: pass Test that adding an optional column from columns with non-matched table raises a warning. test_add_opt_column_twice: pass Test that adding an optional column from columns twice fails the second time. test_add_opt_ind_column_after_data: pass Test that adding an optional, indexed column from columns with data works. test_add_req_column: pass Test that adding a required column from columns raises an error. test_add_req_ind_column: pass Test that adding a required, indexed column from columns raises an error. test_add_row_opt_column: pass Test that adding a row with an optional column works. test_add_row_opt_column_after_data: pass Test that adding a row with an optional column after adding a row without the column raises an error. test_bad_predefined_columns: pass Test that gathering columns across a type hierarchy works. test_gather_columns_inheritance: pass Test that gathering columns across a type hierarchy works. test_init: pass Test that required columns, and not optional columns, in columns are created on init. test_init_columns_add_dup_column: pass Test that passing two columns with the same name raises an error. test_init_columns_add_opt_column: pass Test that passing an optional column to init works. test_init_columns_add_req_column: pass Test that passing a required column to init works. test_init_columns_add_req_column_mismatch_index: pass Test that passing a required column that does not match the predefined column specs raises an error. test_init_columns_add_req_column_mismatch_table: pass Test that passing a required column that does not match the predefined column specs raises an error. +--------------------------------------------------------------+--------+------------+ common.test_table.TestDynamicTableInitIndexRoundTrip +-------------------------------------------------------------+--------+------------+ Test name Output Status +-------------------------------------------------------------+--------+------------+ test_roundtrip: pass Test whether the container read from a written file is the same as the original file. test_roundtrip_export: pass Test whether the container read from a written and then exported file is the same as the original file. +-------------------------------------------------------------+--------+------------+ common.test_table.TestDynamicTableRegion +-------------------------------------------------------+--------+------------+ Test name Output Status +-------------------------------------------------------+--------+------------+ test_dynamic_table_region_getitem_bad_index pass test_dynamic_table_region_getitem_single_cell pass test_dynamic_table_region_getitem_single_row_by_index pass test_dynamic_table_region_getitem_slice pass test_dynamic_table_region_getitem_slice_of_column pass test_dynamic_table_region_iteration pass test_dynamic_table_region_set_table_prop pass test_dynamic_table_region_set_table_prop_to_none pass test_dynamic_table_region_shape pass test_dynamic_table_region_table_prop pass test_dynamic_table_region_to_dataframe pass test_dynamic_table_region_to_dataframe_exclude_cols pass test_indexed_dynamic_table_region pass test_repr pass +-------------------------------------------------------+--------+------------+ common.test_table.TestDynamicTableRoundTrip +-------------------------------------------------------------+--------+------------+ Test name Output Status +-------------------------------------------------------------+--------+------------+ test_roundtrip: pass Test whether the container read from a written file is the same as the original file. test_roundtrip_export: pass Test whether the container read from a written and then exported file is the same as the original file. +-------------------------------------------------------------+--------+------------+ common.test_table.TestElementIdentifiers +--------------------------------------------------+--------+------------+ Test name Output Status +--------------------------------------------------+--------+------------+ test_identifier_search_single_int pass test_identifier_search_single_int_not_found pass test_identifier_search_single_list pass test_identifier_search_single_list_all_match pass test_identifier_search_single_list_not_found pass test_identifier_search_single_list_partial_match pass test_identifier_search_with_bad_ids pass test_identifier_search_with_element_identifier pass +--------------------------------------------------+--------+------------+ common.test_table.TestEmptyDynamicTableRoundTrip +-------------------------------------------------------------+--------+------------+ Test name Output Status +-------------------------------------------------------------+--------+------------+ test_roundtrip: pass Test whether the container read from a written file is the same as the original file. test_roundtrip_export: pass Test whether the container read from a written and then exported file is the same as the original file. +-------------------------------------------------------------+--------+------------+ common.test_table.TestIndexing +------------------------+--------+------------+ Test name Output Status +------------------------+--------+------------+ test_list pass test_list_no_df pass test_single_item pass test_single_item_no_df pass test_slice pass test_slice_no_df pass +------------------------+--------+------------+ common.test_table.TestVectorIndex +-----------------+--------+------------+ Test name Output Status +-----------------+--------+------------+ test_init_data pass test_init_empty pass +-----------------+--------+------------+ common.test_table.TestVocabData +-----------------------+--------+------------+ Test name Output Status +-----------------------+--------+------------+ test_add_row pass test_add_row_index pass test_get pass test_get_2d pass test_get_2d_w_2d pass test_get_list pass test_get_list_indices pass test_get_list_join pass test_init pass +-----------------------+--------+------------+ spec_tests.test_attribute_spec.AttributeSpecTests +---------------------------------------+--------+------------+ Test name Output Status +---------------------------------------+--------+------------+ test_both_value_and_default_value_set pass test_colliding_shape_and_dims pass test_constructor pass test_default_value pass test_dims_without_shape pass test_invalid_dtype pass test_shape pass +---------------------------------------+--------+------------+ spec_tests.test_dataset_spec.DatasetSpecTests +------------------------------------------------------------+--------+------------+ Test name Output Status +------------------------------------------------------------+--------+------------+ test_constructor pass test_constructor_datatype pass test_constructor_default_value pass test_constructor_invalid_table pass test_constructor_invalidate_dtype pass test_constructor_ref_spec pass test_constructor_shape pass test_constructor_table pass test_datatype_extension pass test_datatype_extension_groupspec: pass Test to make sure DatasetSpec catches when a GroupSpec used as data_type_inc test_datatype_table_extension pass test_datatype_table_extension_diff_format pass test_datatype_table_extension_higher_precision pass test_datatype_table_extension_lower_precision pass test_name_with_compatible_quantity pass test_name_with_incompatible_quantity pass +------------------------------------------------------------+--------+------------+ spec_tests.test_dtype_spec.DtypeSpecHelper +---------------------------+--------+------------+ Test name Output Status +---------------------------+--------+------------+ test_recommended_dtypes pass test_simplify_cpd_type pass test_valid_primary_dtypes pass +---------------------------+--------+------------+ spec_tests.test_dtype_spec.DtypeSpecTests +---------------------------+--------+------------+ Test name Output Status +---------------------------+--------+------------+ test_build_spec pass test_constructor pass test_invalid_dtype pass test_invalid_refspec_dict pass test_is_ref pass test_refspec_dtype pass +---------------------------+--------+------------+ spec_tests.test_group_spec.GroupSpecTests +----------------------------+--------+------------+ Test name Output Status +----------------------------+--------+------------+ test_add_attribute pass test_constructor pass test_constructor_datatype pass test_path pass test_path_complicated pass test_path_no_name pass test_set_dataset pass test_set_group pass test_type_extension pass test_update_attribute_spec pass +----------------------------+--------+------------+ spec_tests.test_load_namespace.TestSpecLoad +----------------------------------------+--------+------------+ Test name Output Status +----------------------------------------+--------+------------+ test_inherited_attributes pass test_inherited_attributes_not_resolved pass +----------------------------------------+--------+------------+ spec_tests.test_load_namespace.TestSpecLoadEdgeCase +--------------------------------------------------------------+--------+------------+ Test name Output Status +--------------------------------------------------------------+--------+------------+ test_build_namespace_missing_version: pass Test that building/creating a SpecNamespace without a version works but raises a warning. test_get_namespace_missing_version: pass Test that SpecNamespace.version returns the constant for a missing version if version gets removed. test_load_namespace_none_version: pass Test that reading a namespace file without a version works but raises a warning. test_load_namespace_unversioned_version: pass Test that reading a namespace file with version=unversioned string works but raises a warning. test_missing_version_string: pass Test that the constant variable representing a missing version has not changed. +--------------------------------------------------------------+--------+------------+ spec_tests.test_ref_spec.RefSpecTests +---------------------------+--------+------------+ Test name Output Status +---------------------------+--------+------------+ test_constructor pass test_isregion pass test_wrong_reference_type pass +---------------------------+--------+------------+ spec_tests.test_spec_catalog.SpecCatalogTest +---------------------------------------------------+--------+------------+ Test name Output Status +---------------------------------------------------+--------+------------+ test_copy_spec_catalog pass test_deepcopy_spec_catalog pass test_get_full_hierarchy: pass BaseContainer--+-->AContainer--->ADContainer test_get_spec_source_file pass test_hierarchy pass test_register_spec pass test_subtypes: pass -BaseContainer--+-->AContainer--->ADContainer test_subtypes_norecursion: pass -BaseContainer--+-->AContainer--->ADContainer test_subtypes_unknown_type pass +---------------------------------------------------+--------+------------+ spec_tests.test_spec_write.TestExportSpec +----------------------------------------------------------+--------+------------+ Test name Output Status +----------------------------------------------------------+--------+------------+ test_export: pass Test that export_spec writes the correct files. test_missing_data_types: pass Test that calling export_spec on a namespace builder without data types raises a warning. +----------------------------------------------------------+--------+------------+ spec_tests.test_spec_write.TestNamespaceBuilder +--------------------------------------------------------------+--------+------------+ Test name Output Status +--------------------------------------------------------------+--------+------------+ test_export_namespace pass test_get_source_description pass test_get_source_files pass test_missing_version: pass Test that creating a namespace builder without a version raises an error. test_read_namespace pass +--------------------------------------------------------------+--------+------------+ spec_tests.test_spec_write.TestYAMLSpecWrite +----------------------+--------+------------+ Test name Output Status +----------------------+--------+------------+ test_get_name pass test_init pass test_write_namespace pass +----------------------+--------+------------+ test_container.TestContainer +--------------------------------------------------------------+--------+------------+ Test name Output Status +--------------------------------------------------------------+--------+------------+ test_add_child: pass Test that add child creates deprecation warning and also properly sets child's parent and modified test_constructor: pass Test that constructor properly sets parent and both child and parent have an object_id test_constructor_object_id_none: pass Test that setting object_id to None in new is OK and the object ID is set on get test_generate_new_id_child: pass Test that generate_new_id sets a new ID on the container and not its parent and sets modified on both. test_generate_new_id_parent: pass Test that generate_new_id sets a new ID on the container and its children and sets modified on all. test_generate_new_id_parent_no_recurse: pass Test that generate_new_id(recurse=False) sets a new ID on the container and not its children. test_reassign_container_source: pass Test that reassign container source throws error test_remove_child: pass Test that removing a child removes only the child. test_remove_child_nonchild: pass Test that removing a non-Container child raises an error. test_remove_child_noncontainer: pass Test that removing a non-Container child raises an error. test_repr pass test_set_modified_parent: pass Test that set modified properly sets parent modified test_set_parent: pass Test that parent setter properly sets parent test_set_parent_exists: pass Test that setting a parent a second time does nothing test_set_parent_overwrite: pass Test that parent setter properly blocks overwriting test_set_parent_overwrite_proxy: pass Test that parent setter properly blocks overwriting with proxy/object test_slash_restriction pass test_type_hierarchy pass +--------------------------------------------------------------+--------+------------+ test_container.TestData +-------------------------------------------------------------+--------+------------+ Test name Output Status +-------------------------------------------------------------+--------+------------+ test_bool_false: pass Test that bool method works correctly on empty data test_bool_true: pass Test that bool method works correctly on data with len test_constructor_scalar: pass Test that constructor works correctly on scalar data test_shape_list: pass Test that shape works for np.array test_shape_nparray: pass Test that shape works for np.array +-------------------------------------------------------------+--------+------------+ test_io_hdf5.TestHDF5Writer +------------------------------------------+--------+------------+ Test name Output Status +------------------------------------------+--------+------------+ test_dataset_shape pass test_read_builder pass test_write_attribute_reference_builder pass test_write_attribute_reference_container pass test_write_builder pass test_write_context_manager pass +------------------------------------------+--------+------------+ test_io_hdf5_h5tools.H5DataIOValid +---------------------------------------------------------+--------+------------+ Test name Output Status +---------------------------------------------------------+--------+------------+ test_link: pass Test that wrapping of linked data within H5DataIO test_read_valid: pass Test that h5py.H5Dataset.id.valid works as expected test_valid pass +---------------------------------------------------------+--------+------------+ test_io_hdf5_h5tools.H5IOTest +----------------------------------------------------------------+-----------------------------------+------------+ Test name Output Status +----------------------------------------------------------------+-----------------------------------+------------+ test__chunked_iter_fill: pass Matrix test of HDF5IO.chunked_iter_fill using a DataChunkIterator with different parameters test_copy_h5py_dataset_h5dataio_input AssertionError: False is not true fail
test_copy_h5py_dataset_input pass
test_dci_h5dataset pass
test_dci_h5dataset_scalar pass
test_dci_h5dataset_sparse_matched pass
test_dci_h5dataset_sparse_unmatched pass
test_error_on_unsupported_compression_filter pass
test_h5dataio_array_conversion_datachunkiterator pass
test_h5dataio_array_conversion_list pass
test_h5dataio_array_conversion_numpy pass
test_link_h5py_dataset_h5dataio_input AssertionError: False is not true fail
test_link_h5py_dataset_input AssertionError: False is not true fail
test_list_fill_empty pass
test_list_fill_empty_no_dtype pass
test_pass_through_of_recommended_chunks pass
test_value_error_on_incompatible_compression_opts pass
test_warning_on_linking_of_regular_array pass
test_warning_on_non_gzip_compression pass
test_warning_on_setting_io_options_on_h5dataset_input pass
test_write_dataset_data_chunk_iterator pass
test_write_dataset_data_chunk_iterator_with_compression pass
test_write_dataset_iterable pass
test_write_dataset_iterable_multidimensional_array pass
test_write_dataset_iterable_multidimensional_array_compression pass
test_write_dataset_list pass
test_write_dataset_list_chunked pass
test_write_dataset_list_compress_available_int_filters pass
test_write_dataset_list_compress_gzip pass
test_write_dataset_list_compress_lzf pass
test_write_dataset_list_compress_szip pass
test_write_dataset_list_disable_default_compress pass
test_write_dataset_list_enable_default_compress pass
test_write_dataset_list_fillvalue pass
test_write_dataset_scalar pass
test_write_dataset_string pass
test_write_multi_dci_conc: pass
Test writing multiple DataChunkIterators, concurrently
test_write_multi_dci_oaat: pass
Test writing multiple DataChunkIterators, one at a time
test_write_table pass
test_write_table_nested pass
    +----------------------------------------------------------------+-----------------------------------+------------+

ERROR in test test_copy_h5py_dataset_h5dataio_input (test_io_hdf5_h5tools.H5IOTest): Traceback (most recent call last): File "/builddir/build/BUILD/hdmf-2.0.1/tests/unit/test_io_hdf5_h5tools.py", line 697, in test_copy_h5py_dataset_h5dataio_input self.assertTrue(isinstance(self.f.get('test_copy', getlink=True), HardLink)) AssertionError: False is not true ERROR in test test_link_h5py_dataset_h5dataio_input (test_io_hdf5_h5tools.H5IOTest): Traceback (most recent call last): File "/builddir/build/BUILD/hdmf-2.0.1/tests/unit/test_io_hdf5_h5tools.py", line 688, in test_link_h5py_dataset_h5dataio_input self.assertTrue(isinstance(self.f.get('test_softlink', getlink=True), SoftLink)) AssertionError: False is not true ERROR in test test_link_h5py_dataset_input (test_io_hdf5_h5tools.H5IOTest): Traceback (most recent call last): File "/builddir/build/BUILD/hdmf-2.0.1/tests/unit/test_io_hdf5_h5tools.py", line 671, in test_link_h5py_dataset_input self.assertTrue(isinstance(self.f.get('test_softlink', getlink=True), SoftLink)) AssertionError: False is not true test_io_hdf5_h5tools.HDF5IOInitFileExistsTest +------------------------------+--------+------------+ | Test name | Output | Status | +------------------------------+--------+------------+ | test_init_file_exists_ok | | pass | | test_init_wminus_file_exists | | pass | | test_init_x_file_exists | | pass | +------------------------------+--------+------------+ test_io_hdf5_h5tools.HDF5IOInitNoFileTest +-------------------------+--------+------------+ | Test name | Output | Status | +-------------------------+--------+------------+ | test_init_no_file_ok | | pass | | test_init_no_file_r | | pass | | test_init_no_file_rplus | | pass | +-------------------------+--------+------------+ test_io_hdf5_h5tools.HDF5IOMultiFileTest +------------------------------------+--------+------------+ | Test name | Output | Status | +------------------------------------+--------+------------+ | test_copy_file_with_external_links | | pass | +------------------------------------+--------+------------+ test_io_hdf5_h5tools.HDF5IOReadBuilderClosed +------------------+--------+------------+ | Test name | Output | Status | +------------------+--------+------------+ | test_read_closed | | pass | +------------------+--------+------------+ test_io_hdf5_h5tools.HDF5IOReadData +-------------------+--------+------------+ | Test name | Output | Status | +-------------------+--------+------------+ | test_read_file_ok | | pass | | test_read_file_w | | pass | +-------------------+--------+------------+ test_io_hdf5_h5tools.HDF5IOReadNoDataTest +-------------------------+--------+------------+ | Test name | Output | Status | +-------------------------+--------+------------+ | test_read_no_data_a | | pass | | test_read_no_data_r | | pass | | test_read_no_data_rplus | | pass | +-------------------------+--------+------------+ test_io_hdf5_h5tools.HDF5IOWriteFileExists +------------------+--------+------------+ | Test name | Output | Status | +------------------+--------+------------+ | test_write_a | | pass | | test_write_r | | pass | | test_write_rplus | | pass | | test_write_w | | pass | +------------------+--------+------------+ test_io_hdf5_h5tools.HDF5IOWriteNoFile +------------------------------+--------+------------+ | Test name | Output | Status | +------------------------------+--------+------------+ | test_write_no_file_a_ok | | pass | | test_write_no_file_w_ok | | pass | | test_write_no_file_wminus_ok | | pass | | test_write_no_file_x_ok | | pass | +------------------------------+--------+------------+ test_io_hdf5_h5tools.TestBuildWriteLinkToLink +---------------------------------------------------------+--------+------------+ | Test name | Output | Status | +---------------------------------------------------------+--------+------------+ | test_external_link_to_external_link: | | pass | | Test writing a file with external links to external | | | | links. | | | | test_external_link_to_soft_link: | | pass | | Test writing a file with external links to external | | | | links. | | | +---------------------------------------------------------+--------+------------+ test_io_hdf5_h5tools.TestCacheSpec +-----------------+--------+------------+ | Test name | Output | Status | +-----------------+--------+------------+ | test_cache_spec | | pass | +-----------------+--------+------------+ test_io_hdf5_h5tools.TestCloseLinks +-----------------------------------+--------+------------+ | Test name | Output | Status | +-----------------------------------+--------+------------+ | test_close_file_with_links | | pass | | test_double_close_file_with_links | | pass | +-----------------------------------+--------+------------+ test_io_hdf5_h5tools.TestCpdDatasetRefs +----------------+--------+------------+ | Test name | Output | Status | +----------------+--------+------------+ | test_roundtrip | | pass | +----------------+--------+------------+ test_io_hdf5_h5tools.TestDatasetRefs +----------------+--------+------------+ | Test name | Output | Status | +----------------+--------+------------+ | test_roundtrip | | pass | +----------------+--------+------------+ test_io_hdf5_h5tools.TestExport +--------------------------------------------------------------+--------+------------+ | Test name | Output | Status | +--------------------------------------------------------------+--------+------------+ | test_append_data: | | pass | | Test that exporting a written container after adding | | | | groups, links, and references to it works. | | | | test_append_external_link_copy_data: | | pass | | Test that exporting a written container after adding a | | | | link with link_data=False copies the data. | | | | test_append_external_link_data: | | pass | | Test that exporting a written container after adding a | | | | link with link_data=True creates external links. | | | | test_attr_reference: | | pass | | Test that exporting a written file with attribute | | | | references maintains the references. | | | | test_basic: | | pass | | Test that exporting a written container works. | | | | test_basic_container: | | pass | | Test that exporting a written container, passing in the | | | | container arg, works. | | | | test_cache_spec: | | pass | | Test that exporting with cache_spec works. | | | | test_container_part: | | pass | | Test that exporting a part of a written container raises | | | | an error. | | | | test_container_unknown: | | pass | | Test that exporting a container that did not come from | | | | the src_io object raises an error. | | | | test_export_cpd_dset_refs: | | pass | | Test that exporting a written container with a compound | | | | dataset with references works. | | | | test_export_dset_refs: | | pass | | Test that exporting a written container with a dataset | | | | of references works. | | | | test_export_io: | | pass | | Test that exporting a written container using | | | | HDF5IO.export_io works. | | | | test_external_link_dataset: | | pass | | Test that exporting a written file with external linked | | | | datasets maintains the links. | | | | test_external_link_group: | | pass | | Test that exporting a written file with external linked | | | | groups maintains the links. | | | | test_external_link_link: | | pass | | Test that exporting a written file with external links | | | | to external links maintains the links. | | | | test_non_HDF5_src_link_data_true: | | pass | | Test that exporting with a src_io without a manager | | | | raises an error. | | | | test_non_manager_container: | | pass | | Test that exporting with a src_io without a manager | | | | raises an error. | | | | test_pop_data: | | pass | | Test that exporting a written container after removing | | | | an element from it works. | | | | test_pop_linked_group: | | pass | | Test that exporting a written container after removing a | | | | linked element from it works. | | | | test_soft_link_dataset: | | pass | | Test that exporting a written file with soft linked | | | | datasets keeps links within the file. | | | | test_soft_link_group: | | pass | | Test that exporting a written file with soft linked | | | | groups keeps links within the file. | | | | test_wrong_mode: | | pass | | Test that exporting with a src_io without a manager | | | | raises an error. | | | +--------------------------------------------------------------+--------+------------+ test_io_hdf5_h5tools.TestHDF5IO +------------------------+--------+------------+ | Test name | Output | Status | +------------------------+--------+------------+ | test_constructor | | pass | | test_set_file_mismatch | | pass | +------------------------+--------+------------+ test_io_hdf5_h5tools.TestLinkData +--------------------------------------------------------------+--------+------------+ | Test name | Output | Status | +--------------------------------------------------------------+--------+------------+ | test_link_data_false: | | pass | | Test that the argument link_data=False for write_builder | | | | copies the data. | | | | test_link_data_true: | | pass | | Test that the argument link_data=True for write_builder | | | | creates an external link. | | | +--------------------------------------------------------------+--------+------------+ test_io_hdf5_h5tools.TestLoadNamespaces +--------------------------------------------------------------+--------+------------+ | Test name | Output | Status | +--------------------------------------------------------------+--------+------------+ | test_load_namespaces_file_no_path: | | pass | | Test that loading namespaces from an h5py.File not | | | | backed by a file on disk is OK and does not close the | | | | file. | | | | test_load_namespaces_file_path_matched: | | pass | | Test that loading namespaces given an h5py.File and path | | | | is OK and does not close the file. | | | | test_load_namespaces_file_path_mismatched: | | pass | | Test that loading namespaces given an h5py.File and path | | | | that are mismatched raises an error. | | | | test_load_namespaces_no_path_no_file: | | pass | | Test that loading namespaces without a path or file | | | | raises an error. | | | | test_load_namespaces_none_version: | | pass | | Test that reading a file with a cached namespace and | | | | None version works but raises a warning. | | | | test_load_namespaces_path: | | pass | | Test that loading namespaces given a path is OK and | | | | returns the correct dictionary. | | | | test_load_namespaces_unversioned: | | pass | | Test that reading a file with a cached, unversioned | | | | version works but raises a warning. | | | +--------------------------------------------------------------+--------+------------+ test_io_hdf5_h5tools.TestMultiWrite +--------------------------------------------------------------+--------+------------+ | Test name | Output | Status | +--------------------------------------------------------------+--------+------------+ | test_double_write_new_manager: | | pass | | Test writing to a container in write mode twice using a | | | | new manager without changing the container. | | | | test_double_write_same_manager: | | pass | | Test writing to a container in write mode twice using | | | | the same manager without changing the container. | | | | test_write_add_append_bucket: | | pass | | Test appending a container to a file. | | | | test_write_add_append_double_write: | | pass | | Test using the same IO object to append a container to a | | | | file twice. | | | | test_write_add_write: | | pass | | Test writing a container, adding to the in-memory | | | | container, then overwriting the same file. | | | +--------------------------------------------------------------+--------+------------+ test_io_hdf5_h5tools.TestNoCacheSpec +--------------------+--------+------------+ | Test name | Output | Status | +--------------------+--------+------------+ | test_no_cache_spec | | pass | +--------------------+--------+------------+ test_io_hdf5_h5tools.TestReadLink +------------------------------------------------------------+--------+------------+ | Test name | Output | Status | +------------------------------------------------------------+--------+------------+ | test_broken_link: | | pass | | Test that opening a file with a broken link raises a | | | | warning but is still readable. | | | | test_broken_linked_data: | | pass | | Test that opening a file with a broken link raises a | | | | warning but is still readable. | | | | test_link_to_link: | | pass | | Test that link to link gets written and read properly | | | | test_set_link_loc: | | pass | | Test that Builder location is set when it is read as a | | | | link | | | +------------------------------------------------------------+--------+------------+ test_io_hdf5_h5tools.TestRoundTrip +------------------------------+--------+------------+ | Test name | Output | Status | +------------------------------+--------+------------+ | test_roundtrip_basic | | pass | | test_roundtrip_empty_dataset | | pass | | test_roundtrip_empty_group | | pass | +------------------------------+--------+------------+ test_io_hdf5_h5tools.TestWritten +-------------------------------------------------------------+--------+------------+ | Test name | Output | Status | +-------------------------------------------------------------+--------+------------+ | test_set_written_on_write: | | pass | | Test that write_builder changes the written flag of the | | | | builder and its children from False to True. | | | +-------------------------------------------------------------+--------+------------+ test_query.LinspaceQueryTest +-----------------------------------------------------+--------+------------+ | Test name | Output | Status | +-----------------------------------------------------+--------+------------+ | test_eq_: | | pass | | Test wrapper equals magic method | | | | testge: | | pass | | Test wrapper greater than or equal magic method | | | | testgetitem: | | pass | | Test wrapper getitem using slice | | | | testgetitemquery: | | pass | | Test wrapper getitem using query | | | | testgt: | | pass | | Test wrapper greater than magic method | | | | testle: | | pass | | Test wrapper less than or equal magic method | | | | testlt: | | pass | | Test wrapper less than magic method | | | | testne: | | pass | | Test wrapper not equal magic method | | | | test_get_dataset | | pass | +-----------------------------------------------------+--------+------------+ testquery.SortedQueryTest +-----------------------------------------------------+--------+------------+ | Test name | Output | Status | +-----------------------------------------------------+--------+------------+ | testeq: | | pass | | Test wrapper equals magic method | | | | testge: | | pass | | Test wrapper greater than or equal magic method | | | | testgetitem: | | pass | | Test wrapper getitem using slice | | | | testgetitemquery: | | pass | | Test wrapper getitem using query | | | | testgt: | | pass | | Test wrapper greater than magic method | | | | testle: | | pass | | Test wrapper less than or equal magic method | | | | testlt__: | | pass | | Test wrapper less than magic method | | | | test_ne: | | pass | | Test wrapper not equal magic method | | | | test_get_dataset | | pass | +-----------------------------------------------------+--------+------------+ utils_test.test_core_DataChunk.DataChunkTests +-------------------------+--------+------------+ | Test name | Output | Status | +-------------------------+--------+------------+ | test_datachunk_astype | | pass | | test_datachunk_copy | | pass | | test_datachunk_deepcopy | | pass | +-------------------------+--------+------------+ utils_test.test_core_DataChunkIterator.DataChunkIteratorTests +-------------------------------------------------------------+--------+------------+ | Test name | Output | Status | +-------------------------------------------------------------+--------+------------+ | test_custom_iter_first_axis | | pass | | test_custom_iter_last_axis | | pass | | test_custom_iter_middle_axis | | pass | | test_custom_iter_mismatched_axis | | pass | | test_dtype | | pass | | test_list_none: | | pass | | Test that DataChunkIterator has no dtype or chunks when | | | | given a list of None. | | | | test_list_none_dtype: | | pass | | Test that DataChunkIterator has the passed-in dtype and | | | | no chunks when given a list of None. | | | | test_list_numpy_scalar | | pass | | test_list_scalar | | pass | | test_maxshape | | pass | | test_multidimensional_list_first_axis: | | pass | | Test DataChunkIterator with multidimensional list data, | | | | no buffering, and iterating on the first dimension. | | | | test_multidimensional_list_last_axis: | | pass | | Test DataChunkIterator with multidimensional list data, | | | | no buffering, and iterating on the last dimension. | | | | test_multidimensional_list_middle_axis: | | pass | | Test DataChunkIterator with multidimensional list data, | | | | no buffering, and iterating on a middle dimension. | | | | test_none_iter: | | pass | | Test that DataChunkIterator init sets defaults | | | | correctly and all chunks and recommended shapes are | | | | None. | | | | test_numpy_iter_buffered_first_axis: | | pass | | Test DataChunkIterator with numpy data, buffering, and | | | | iterating on the first dimension. | | | | test_numpy_iter_buffered_last_axis: | | pass | | Test DataChunkIterator with numpy data, buffering, and | | | | iterating on the last dimension. | | | | test_numpy_iter_buffered_middle_axis: | | pass | | Test DataChunkIterator with numpy data, buffering, and | | | | iterating on a middle dimension. | | | | test_numpy_iter_unbuffered_first_axis: | | pass | | Test DataChunkIterator with numpy data, no buffering, | | | | and iterating on the first dimension. | | | | test_numpy_iter_unbuffered_last_axis: | | pass | | Test DataChunkIterator with numpy data, no buffering, | | | | and iterating on the last dimension. | | | | test_numpy_iter_unbuffered_middle_axis: | | pass | | Test DataChunkIterator with numpy data, no buffering, | | | | and iterating on a middle dimension. | | | | test_numpy_iter_unmatched_buffer_size | | pass | | test_set_maxshape | | pass | | test_sparse_data_buffer_aligned | | pass | | test_sparse_data_buffer_notaligned | | pass | | test_standard_iterator_unbuffered | | pass | | test_standard_iterator_unmatched_buffersized | | pass | | test_start_with_none | | pass | +-------------------------------------------------------------+--------+------------+ utils_test.test_core_DataChunkIterator.DataChunkTests +-----------------------------+--------+------------+ | Test name | Output | Status | +-----------------------------+--------+------------+ | test_astype | | pass | | test_dtype | | pass | | test_len_operator_no_data | | pass | | test_len_operator_with_data | | pass | +-----------------------------+--------+------------+ utils_test.test_core_DataIO.DataIOTests +-------------------------------------------------+--------+------------+ | Test name | Output | Status | +-------------------------------------------------+--------+------------+ | test_copy | | pass | | test_dataio_slice_delegation | | pass | | test_deepcopy | | pass | | test_set_dataio: | | pass | | Test that Data.set_dataio works as intended | | | | test_set_dataio_data_already_set: | | pass | | Test that Data.set_dataio works as intended | | | +-------------------------------------------------+--------+------------+ utils_test.test_core_ShapeValidator.ShapeValidatorResultTests +--------------------------------------------+--------+------------+ | Test name | Output | Status | +--------------------------------------------+--------+------------+ | test_default_message | | pass | | test_ensure_use_of_tuples_during_asignment | | pass | | test_set_error_to_illegal_type | | pass | +--------------------------------------------+--------+------------+ utils_test.test_core_ShapeValidator.ShapeValidatorTests +--------------------------------------------------------------+--------+------------+ | Test name | Output | Status | +--------------------------------------------------------------+--------+------------+ | test_DataChunkIterator_error_on_undetermined_axis | | pass | | test_DataChunkIterator_ignore_undetermined_axis | | pass | | test_DataChunkIterators_match | | pass | | test_DynamicTableRegion_shape_validation | | pass | | test_array_all_dimensions_match | | pass | | test_array_axis_index_out_of_bounds_mutilple_axis | | pass | | test_array_axis_index_out_of_bounds_single_axis | | pass | | test_array_dimensions_mismatch | | pass | | test_array_unequal_number_of_axes_for_comparison | | pass | | test_array_unequal_number_of_dimensions | | pass | | test_array_unequal_number_of_dimensions_check_multiple_axesy | | pass | | test_array_unequal_number_of_dimensions_check_one_axis_only | | pass | +--------------------------------------------------------------+--------+------------+ utils_test.test_docval.TestDocValidator +--------------------------------------------------------------+--------+------------+ | Test name | Output | Status | +--------------------------------------------------------------+--------+------------+ | test_allow_positional_error | | pass | | test_allow_positional_warn | | pass | | test_bad_shape | | pass | | test_bad_type | | pass | | test_bool_string_type | | pass | | test_bool_type | | pass | | test_catch_dup_names: | | pass | | Test that docval does not allow duplicate argument names | | | | test_docval_add: | | pass | | Test that docval works with a single positional | | | | test_docval_add2: | | pass | | Test that docval works with two positional | | | | test_docval_add2_kw_all_kw_syntax: | | pass | | Test that docval works with two positional | | | | test_docval_add2_kw_default: | | pass | | Test that docval works with two positional | | | | test_docval_add2_kw_default_sub: | | pass | | Test that docval works with a four positional arguments | | | | and | | | | test_docval_add2_kw_default_sub_missing_args: | | pass | | Test that docval catches missing arguments with a four | | | | positional arguments | | | | test_docval_add2_kw_kw_syntax: | | pass | | Test that docval works with two positional | | | | test_docval_add2_kw_kwsyntax_sub: | | pass | | Test that docval works when called with a four | | | | positional | | | | test_docval_add2_kw_kwsyntax_sub_missing_args: | | pass | | Test that docval catches missing arguments when called | | | | with a four positional | | | | test_docval_add2_kw_kwsyntax_sub_nonetype_arg: | | pass | | Test that docval catches NoneType when called with a | | | | four positional | | | | test_docval_add2_kw_pos_syntax: | | pass | | Test that docval works with two positional | | | | test_docval_add2_kw_pos_syntax_missing_args: | | pass | | Test that docval catches incorrect type with two | | | | positional | | | | test_docval_add2_pos_as_kw: | | pass | | Test that docval works with two positional | | | | test_docval_add2_w_unicode: | | pass | | Test that docval works with two positional | | | | test_docval_add_kw: | | pass | | Test that docval works with a single positional | | | | test_docval_add_missing_args: | | pass | | Test that docval catches missing argument | | | | test_docval_add_sub: | | pass | | Test that docval works with a two positional arguments, | | | | test_dup_kw: | | pass | | Test that docval raises an error if a keyword argument | | | | test_enum_bad_type: | | pass | | Test that docval with an enum check where the arg type | | | | includes an invalid enum type fails | | | | test_enum_bool_mixed: | | pass | | Test that the basic usage of an enum check on a tuple of | | | | bool, int, float, and string works | | | | test_enum_float: | | pass | | Test that the basic usage of an enum check on floats | | | | works | | | | test_enum_forbidden_values: | | pass | | Test that docval with enum values that include a | | | | forbidden type fails | | | | test_enum_int: | | pass | | Test that the basic usage of an enum check on ints works | | | | test_enum_none_type: | | pass | | Test that the basic usage of an enum check on None works | | | | test_enum_single_allowed: | | pass | | Test that docval with an enum check on a single value | | | | fails | | | | test_enum_str: | | pass | | Test that the basic usage of an enum check on strings | | | | works | | | | test_enum_str_default: | | pass | | Test that docval with an enum check on strings and a | | | | default value works | | | | test_enum_str_none_default: | | pass | | Test that docval with an enum check on strings and a | | | | None default value works | | | | test_enum_uint: | | pass | | Test that the basic usage of an enum check on uints | | | | works | | | | test_extra_args_dup_kw: | | pass | | Test that docval raises an error if a keyword argument | | | | test_extra_args_pos_kw: | | pass | | Test that docval raises an error if too many positional | | | | test_extra_args_pos_kw_ok: | | pass | | Test that docval does not raise an error if too many | | | | test_extra_args_pos_only: | | pass | | Test that docval raises an error if too many positional | | | | test_extra_args_pos_only_ok: | | pass | | Test that docval raises an error if too many positional | | | | test_extra_kwarg: | | pass | | Test that docval parses arguments when only keyword | | | | test_extra_kwargs_pos_kw: | | pass | | Test that docval raises an error if extra keyword | | | | test_fmt_docval_args: | | pass | | Test that fmt_docval_args works | | | | test_fmt_docval_args_allow_extra: | | pass | | Test that fmt_docval_args works | | | | test_fmt_docval_args_no_docval: | | pass | | Test that fmt_docval_args raises an error when run on | | | | function without docval | | | | test_get_docval_all: | | pass | | Test that get_docval returns a tuple of the docval | | | | arguments | | | | test_get_docval_missing_arg: | | pass | | Test that get_docval throws error if the matching docval | | | | argument is not found | | | | test_get_docval_missing_arg_of_many_ok: | | pass | | Test that get_docval throws error if the matching docval | | | | arguments is not found | | | | test_get_docval_missing_args: | | pass | | Test that get_docval throws error if the matching docval | | | | arguments is not found | | | | test_get_docval_none: | | pass | | Test that get_docval returns an empty tuple if there is | | | | no docval | | | | test_get_docval_none_arg: | | pass | | Test that get_docval throws error if there is no docval | | | | and an argument name is passed | | | | test_get_docval_one_arg: | | pass | | Test that get_docval returns the matching docval | | | | argument | | | | test_get_docval_two_args: | | pass | | Test that get_docval returns the matching docval | | | | arguments in order | | | | test_multi_shape | | pass | | test_only_kw_arg1_arg2: | | pass | | Test that docval parses arguments when only keyword | | | | test_only_kw_arg1_arg2_pos: | | pass | | Test that docval parses arguments when only keyword | | | | test_only_kw_arg1_no_arg2: | | pass | | Test that docval parses arguments when only keyword | | | | test_only_kw_arg1_pos_no_arg2: | | pass | | Test that docval parses arguments when only keyword | | | | test_only_kw_arg2_no_arg1: | | pass | | Test that docval parses arguments when only keyword | | | | test_only_kw_no_args: | | pass | | Test that docval parses arguments when only keyword | | | | test_uint_string_type: | | pass | | Test that docval type specification of string 'uint' | | | | matches np.uint of all available precisions. | | | | test_uint_type: | | pass | | Test that docval type specification of np.uint32 works | | | | as expected. | | | | test_unsupported_docval_term: | | pass | | Test that docval does not allow setting of arguments | | | +--------------------------------------------------------------+--------+------------+ utils_test.test_docval.TestDocValidatorChain +-------------------------------------------------------------+--------+------------+ | Test name | Output | Status | +-------------------------------------------------------------+--------+------------+ | test_shape_invalid_unpack: | | pass | | Test that passing an object for an argument with | | | | required shape and object.argument has an invalid shape | | | | test_shape_invalid_unpack_default: | | pass | | Test that passing an object for an argument with | | | | required shape and a default value and object.argument | | | | has | | | | test_shape_none_unpack: | | pass | | Test that passing an object for an argument with | | | | required shape and object.argument is None is OK | | | | test_shape_none_unpack_default: | | pass | | Test that passing an object for an argument with | | | | required shape and a default value and object.argument | | | | is | | | | test_shape_other_unpack: | | pass | | Test that passing an object for an argument with | | | | required shape and object.argument is an object without | | | | test_shape_other_unpack_default: | | pass | | Test that passing an object for an argument with | | | | required shape and a default value and object.argument | | | | is | | | | test_shape_valid_unpack: | | pass | | Test that passing an object for an argument with | | | | required shape tests the shape of object.argument | | | | test_shape_valid_unpack_default: | | pass | | Test that passing an object for an argument with | | | | required shape and a default value tests the shape of | | | | test_type_arg: | | pass | | Test that passing an object for an argument that allows | | | | a specific type works | | | | test_type_arg_wrong_type: | | pass | | Test that passing an object for an argument that does | | | | not match a specific type raises an error | | | +-------------------------------------------------------------+--------+------------+ utils_test.test_docval.TestGetargs +------------------------------+--------+------------+ | Test name | Output | Status | +------------------------------+--------+------------+ | test_arg_not_found_many_args | | pass | | test_arg_not_found_one_arg | | pass | | test_last_arg_not_dict | | pass | | test_many_args_get_all | | pass | | test_many_args_get_some | | pass | | test_many_args_reverse | | pass | | test_many_args_unpack | | pass | | test_one_arg_first | | pass | | test_one_arg_second | | pass | | test_too_few_args | | pass | +------------------------------+--------+------------+ utils_test.test_docval.TestPopargs +------------------------------+--------+------------+ | Test name | Output | Status | +------------------------------+--------+------------+ | test_arg_not_found_many_args | | pass | | test_arg_not_found_one_arg | | pass | | test_last_arg_not_dict | | pass | | test_many_args_pop_all | | pass | | test_many_args_pop_some | | pass | | test_many_args_reverse | | pass | | test_many_args_unpack | | pass | | test_one_arg_first | | pass | | test_one_arg_second | | pass | | test_too_few_args | | pass | +------------------------------+--------+------------+ utils_test.test_labelleddict.TestLabelledDict +--------------------------------------------------------------+--------+------------+ | Test name | Output | Status | +--------------------------------------------------------------+--------+------------+ | test_add_basic: | | pass | | Test add function on object with correct key_attr | | | | test_add_value_missing_key: | | pass | | Test that add raises an error if the value being set | | | | does not have the attribute key_attr | | | | test_addval_getitem_eqeq: | | pass | | Test that dict[key_attr == val] returns the single | | | | matching object | | | | test_addval_getitem_eqeq_unknown_key_val: | | pass | | Test that dict[key_attr == val] where prop3 does not | | | | match any objects in the dict raises an error | | | | test_addval_getitem_eqeq_unknown_val: | | pass | | Test that dict[key_attr == val] with an unknown val | | | | raises an error even if there are other objects in | | | | test_addval_getitem_other_key: | | pass | | Test that dict[other_key == val] returns a list of | | | | matching objects | | | | test_addval_getitem_other_key_multi: | | pass | | Test that dict[other_key == val] returns a list of | | | | matching objects | | | | test_addval_getitem_other_key_none: | | pass | | Test that dict[other_key == val] raises an error if val | | | | does not equal any of the other_key attribute values | | | | test_constructor: | | pass | | Test that constructor sets arguments properly | | | | test_constructor_default: | | pass | | Test that constructor sets default key attribute | | | | test_getitem_eqeq_no_key_attr: | | pass | | Test that dict[key_attr == val] raises an error if | | | | key_attr is not given | | | | test_getitem_eqeq_no_key_attr_no_val: | | pass | | Test that dict[key_attr == val] raises an error if | | | | key_attr is not given and val is not given | | | | test_getitem_eqeq_no_val: | | pass | | Test that dict[key_attr == val] raises an error if val | | | | is not given | | | | test_getitem_eqeq_other_key_attr: | | pass | | Test that dict[key_attr == val] raises an error if there | | | | are no matches for other_attr == val | | | | test_getitem_eqeq_unknown_val: | | pass | | Test that dict[key_attr == val] raises an error if there | | | | are no matches for val | | | | test_getitem_unknown_val: | | pass | | Test that dict[val] raises an error if there are no | | | | matches for val | | | | test_set_key_attr: | | pass | | Test that the key attribute cannot be set after | | | | initialization | | | | test_setitem_getitem_basic: | | pass | | Test that setitem and getitem properly set and get the | | | | object | | | | test_setitem_value_missing_key: | | pass | | Test that setitem raises an error if the value being set | | | | does not have the attribute key_attr | | | | test_setitem_value_wrong_value: | | pass | | Test that setitem raises an error if the value being set | | | | has a different value for attribute key_attr | | | +--------------------------------------------------------------+--------+------------+ utils_test.test_utils.TestGetDataShape +-------------------------------------------------------------+--------+------------+ | Test name | Output | Status | +-------------------------------------------------------------+--------+------------+ | test_arbitrary_iterable_with_len: | | pass | | Test get_data_shape with strict_no_data_load=True on an | | | | arbitrary iterable object with len. | | | | test_dataio: | | pass | | Test get_data_shape on DataIO of various shapes and | | | | maxshape. | | | | test_dci: | | pass | | Test get_data_shape on DataChunkIterators of various | | | | shapes and maxshape. | | | | test_h5dataset: | | pass | | Test get_data_shape on h5py.Datasets of various shapes | | | | and maxshape. | | | | test_list: | | pass | | Test get_data_shape on lists of various shapes. | | | | test_nparray: | | pass | | Test get_data_shape on numpy arrays of various shapes. | | | | test_other: | | pass | | Test get_data_shape on miscellaneous edge cases. | | | | test_set: | | pass | | Test get_data_shape on sets, which have len but are | | | | not subscriptable. | | | | test_strict_no_data_load: | | pass | | Test get_data_shape with strict_no_data_load=True on | | | | nested lists/tuples is the same as when it is False. | | | | test_string: | | pass | | Test get_data_shape on strings and collections of | | | | strings. | | | | test_tuple: | | pass | | Test get_data_shape on tuples of various shapes. | | | +-------------------------------------------------------------+--------+------------+ validator_tests.test_validate.Test1DArrayValidation +--------------------------------------------------------------+--------+------------+ | Test name | Output | Status | +--------------------------------------------------------------+--------+------------+ | test_empty_list: | | pass | | Test that validator allows an empty list where an array | | | | is specified. | | | | test_empty_nparray: | | pass | | Test that validator allows an empty numpy array where an | | | | array is specified. | | | | test_scalar: | | pass | | Test that validator does not allow a scalar where an | | | | array is specified. | | | +--------------------------------------------------------------+--------+------------+ validator_tests.test_validate.TestBasicSpec +-------------------------------------------+--------+------------+ | Test name | Output | Status | +-------------------------------------------+--------+------------+ | test_invalid_incorrect_type_get_validator | | pass | | test_invalid_incorrect_type_validate | | pass | | test_invalid_missing | | pass | | test_valid | | pass | +-------------------------------------------+--------+------------+ validator_tests.test_validate.TestDateTimeInSpec +--------------------------------+--------+------------+ | Test name | Output | Status | +--------------------------------+--------+------------+ | test_invalid_isodatetime | | pass | | test_invalid_isodatetime_array | | pass | | test_valid_isodatetime | | pass | +--------------------------------+--------+------------+ validator_tests.test_validate.TestDtypeValidation +--------------------------------------------------------------+--------+------------+ | Test name | Output | Status | +--------------------------------------------------------------+--------+------------+ | test_ascii_for_utf8: | | pass | | Test that validator allows ASCII data where UTF8 is | | | | specified. | | | | test_bool_for_numeric: | | pass | | Test that validator does not allow bool data where | | | | numeric is specified. | | | | test_int64_for_int8: | | pass | | Test that validator allows int64 data where int8 is | | | | specified. | | | | test_int64_for_numeric: | | pass | | Test that validator allows int64 data where numeric is | | | | specified. | | | | test_int8_for_int64: | | pass | | Test that validator does not allow int8 data where int64 | | | | is specified. | | | | test_utf8_for_ascii: | | pass | | Test that validator does not allow UTF8 where ASCII is | | | | specified. | | | +--------------------------------------------------------------+--------+------------+ validator_tests.test_validate.TestEmptySpec +-------------------------------+--------+------------+ | Test name | Output | Status | +-------------------------------+--------+------------+ | test_invalid_missing_req_type | | pass | | test_valid | | pass | +-------------------------------+--------+------------+ validator_tests.test_validate.TestNestedTypes +----------------------------------+--------+------------+ | Test name | Output | Status | +----------------------------------+--------+------------+ | test_invalid_missing_req_group | | pass | | test_invalid_wrong_name_req_type | | pass | | test_valid | | pass | | test_valid_wo_opt_attr | | pass | +----------------------------------+--------+------------+

2020-08-09 12:40:23,891 - INFO - Ran 692 tests - FAILED (errors=2,failures=3) RPM build errors:


Just the errors:

ERROR in test test_append_1_0_5 (back_compat_tests.test_1_1_0.Test1_1_0): Traceback (most recent call last): File "/builddir/build/BUILD/hdmf-2.0.1/tests/unit/back_compat_tests/test_1_1_0.py", line 40, in test_append_1_0_5 read_foofile = io.read() File "/builddir/build/BUILDROOT/python-hdmf-2.0.1-1.fc33.noarch/usr/lib/python3.9/site-packages/hdmf/backends/hdf5/h5tools.py", line 414, in read return call_docval_func(super().read, kwargs) File "/builddir/build/BUILDROOT/python-hdmf-2.0.1-1.fc33.noarch/usr/lib/python3.9/site-packages/hdmf/utils.py", line 404, in call_docval_func return func(*fargs, fkwargs) File "/builddir/build/BUILDROOT/python-hdmf-2.0.1-1.fc33.noarch/usr/lib/python3.9/site-packages/hdmf/utils.py", line 560, in func_call return func(args[0], pargs) File "/builddir/build/BUILDROOT/python-hdmf-2.0.1-1.fc33.noarch/usr/lib/python3.9/site-packages/hdmf/backends/io.py", line 32, in read f_builder = self.read_builder() File "/builddir/build/BUILDROOT/python-hdmf-2.0.1-1.fc33.noarch/usr/lib/python3.9/site-packages/hdmf/utils.py", line 560, in func_call return func(args[0], pargs) File "/builddir/build/BUILDROOT/python-hdmf-2.0.1-1.fc33.noarch/usr/lib/python3.9/site-packages/hdmf/backends/hdf5/h5tools.py", line 431, in read_builder f_builder = self.read_group(self.__file, ROOT_NAME, ignore=ignore) File "/builddir/build/BUILDROOT/python-hdmf-2.0.1-1.fc33.noarch/usr/lib/python3.9/site-packages/hdmf/backends/hdf5/h5tools.py", line 574, in read_group builder = read_method(sub_h5obj) File "/builddir/build/BUILDROOT/python-hdmf-2.0.1-1.fc33.noarch/usr/lib/python3.9/site-packages/hdmf/backends/hdf5/h5tools.py", line 574, in read_group builder = read_method(sub_h5obj) File "/builddir/build/BUILDROOT/python-hdmf-2.0.1-1.fc33.noarch/usr/lib/python3.9/site-packages/hdmf/backends/hdf5/h5tools.py", line 574, in __read_group builder = read_method(sub_h5obj) [Previous line repeated 1 more time] File "/builddir/build/BUILDROOT/python-hdmf-2.0.1-1.fc33.noarch/usr/lib/python3.9/site-packages/hdmf/backends/hdf5/h5tools.py", line 582, in read_group ret = GroupBuilder(name, kwargs) File "/builddir/build/BUILDROOT/python-hdmf-2.0.1-1.fc33.noarch/usr/lib/python3.9/site-packages/hdmf/utils.py", line 560, in func_call return func(args[0], pargs) File "/builddir/build/BUILDROOT/python-hdmf-2.0.1-1.fc33.noarch/usr/lib/python3.9/site-packages/hdmf/build/builders.py", line 158, in init super().init(name, attributes, parent, source) File "/builddir/build/BUILDROOT/python-hdmf-2.0.1-1.fc33.noarch/usr/lib/python3.9/site-packages/hdmf/utils.py", line 560, in func_call return func(args[0], pargs) File "/builddir/build/BUILDROOT/python-hdmf-2.0.1-1.fc33.noarch/usr/lib/python3.9/site-packages/hdmf/build/builders.py", line 94, in init self.set_attribute(name, val) File "/builddir/build/BUILDROOT/python-hdmf-2.0.1-1.fc33.noarch/usr/lib/python3.9/site-packages/hdmf/utils.py", line 559, in func_call pargs = _check_args(args, kwargs) File "/builddir/build/BUILDROOT/python-hdmf-2.0.1-1.fc33.noarch/usr/lib/python3.9/site-packages/hdmf/utils.py", line 552, in _check_args raise ExceptionType(msg) TypeError: GroupBuilder.set_attribute: None is not allowed for 'value' (expected 'any type', not None)

ERROR in test test_read_1_0_5 (back_compat_tests.test_1_1_0.Test1_1_0): Traceback (most recent call last): File "/builddir/build/BUILD/hdmf-2.0.1/tests/unit/back_compat_tests/test_1_1_0.py", line 29, in test_read_1_0_5 read_foofile = io.read() File "/builddir/build/BUILDROOT/python-hdmf-2.0.1-1.fc33.noarch/usr/lib/python3.9/site-packages/hdmf/backends/hdf5/h5tools.py", line 414, in read return call_docval_func(super().read, kwargs) File "/builddir/build/BUILDROOT/python-hdmf-2.0.1-1.fc33.noarch/usr/lib/python3.9/site-packages/hdmf/utils.py", line 404, in call_docval_func return func(*fargs, fkwargs) File "/builddir/build/BUILDROOT/python-hdmf-2.0.1-1.fc33.noarch/usr/lib/python3.9/site-packages/hdmf/utils.py", line 560, in func_call return func(args[0], pargs) File "/builddir/build/BUILDROOT/python-hdmf-2.0.1-1.fc33.noarch/usr/lib/python3.9/site-packages/hdmf/backends/io.py", line 32, in read f_builder = self.read_builder() File "/builddir/build/BUILDROOT/python-hdmf-2.0.1-1.fc33.noarch/usr/lib/python3.9/site-packages/hdmf/utils.py", line 560, in func_call return func(args[0], pargs) File "/builddir/build/BUILDROOT/python-hdmf-2.0.1-1.fc33.noarch/usr/lib/python3.9/site-packages/hdmf/backends/hdf5/h5tools.py", line 431, in read_builder f_builder = self.read_group(self.__file, ROOT_NAME, ignore=ignore) File "/builddir/build/BUILDROOT/python-hdmf-2.0.1-1.fc33.noarch/usr/lib/python3.9/site-packages/hdmf/backends/hdf5/h5tools.py", line 574, in read_group builder = read_method(sub_h5obj) File "/builddir/build/BUILDROOT/python-hdmf-2.0.1-1.fc33.noarch/usr/lib/python3.9/site-packages/hdmf/backends/hdf5/h5tools.py", line 574, in read_group builder = read_method(sub_h5obj) File "/builddir/build/BUILDROOT/python-hdmf-2.0.1-1.fc33.noarch/usr/lib/python3.9/site-packages/hdmf/backends/hdf5/h5tools.py", line 574, in __read_group builder = read_method(sub_h5obj) [Previous line repeated 1 more time] File "/builddir/build/BUILDROOT/python-hdmf-2.0.1-1.fc33.noarch/usr/lib/python3.9/site-packages/hdmf/backends/hdf5/h5tools.py", line 582, in read_group ret = GroupBuilder(name, kwargs) File "/builddir/build/BUILDROOT/python-hdmf-2.0.1-1.fc33.noarch/usr/lib/python3.9/site-packages/hdmf/utils.py", line 560, in func_call return func(args[0], pargs) File "/builddir/build/BUILDROOT/python-hdmf-2.0.1-1.fc33.noarch/usr/lib/python3.9/site-packages/hdmf/build/builders.py", line 158, in init super().init(name, attributes, parent, source) File "/builddir/build/BUILDROOT/python-hdmf-2.0.1-1.fc33.noarch/usr/lib/python3.9/site-packages/hdmf/utils.py", line 560, in func_call return func(args[0], pargs) File "/builddir/build/BUILDROOT/python-hdmf-2.0.1-1.fc33.noarch/usr/lib/python3.9/site-packages/hdmf/build/builders.py", line 94, in init self.set_attribute(name, val) File "/builddir/build/BUILDROOT/python-hdmf-2.0.1-1.fc33.noarch/usr/lib/python3.9/site-packages/hdmf/utils.py", line 559, in func_call pargs = _check_args(args, kwargs) File "/builddir/build/BUILDROOT/python-hdmf-2.0.1-1.fc33.noarch/usr/lib/python3.9/site-packages/hdmf/utils.py", line 552, in _check_args raise ExceptionType(msg) TypeError: GroupBuilder.set_attribute: None is not allowed for 'value' (expected 'any type', not None)

�[0;0;31mERROR in test test_copy_h5py_dataset_h5dataio_input (test_io_hdf5_h5tools.H5IOTest): Traceback (most recent call last): File "/builddir/build/BUILD/hdmf-2.0.1/tests/unit/test_io_hdf5_h5tools.py", line 697, in test_copy_h5py_dataset_h5dataio_input self.assertTrue(isinstance(self.f.get('test_copy', getlink=True), HardLink)) AssertionError: False is not true

�[0;0;31mERROR in test test_link_h5py_dataset_h5dataio_input (test_io_hdf5_h5tools.H5IOTest): Traceback (most recent call last): File "/builddir/build/BUILD/hdmf-2.0.1/tests/unit/test_io_hdf5_h5tools.py", line 688, in test_link_h5py_dataset_h5dataio_input self.assertTrue(isinstance(self.f.get('test_softlink', getlink=True), SoftLink)) AssertionError: False is not true

�[0;0;31mERROR in test test_link_h5py_dataset_input (test_io_hdf5_h5tools.H5IOTest): Traceback (most recent call last): File "/builddir/build/BUILD/hdmf-2.0.1/tests/unit/test_io_hdf5_h5tools.py", line 671, in test_link_h5py_dataset_input self.assertTrue(isinstance(self.f.get('test_softlink', getlink=True), SoftLink)) AssertionError: False is not true

rly commented 4 years ago

@lbazan I noticed you might be running Python 3.9 beta. Do you know if this error occurs on your system with Python 3.8?

rly commented 3 years ago

Closing this issue because we cannot reproduce it. Please feel free to reopen it if it occurs again or you have more details about the error.

bendichter commented 3 years ago

@lbazan Thanks for testing on python 3.9! Last we checked there were a few core libraries we rely on that have not yet migrated. We've started automated tests for 3.9 and will include it as a supported python version as soon as all of our dependencies support it.