Skip to content

Commit

Permalink
Update tests/unit/common/test_table.py
Browse files Browse the repository at this point in the history
  • Loading branch information
rly authored Apr 4, 2024
1 parent 73d36c9 commit da0dcd3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/unit/common/test_table.py
Original file line number Diff line number Diff line change
Expand Up @@ -238,14 +238,14 @@ def test_array_append_error(self):
c_data2 = np.array(['Mus musculus'])

terms = TermSet(term_schema_path='tests/unit/example_test_term_set.yaml')
compound_vector_data = VectorData(
vectordata_termset = VectorData(
name='Species_1',
description='...',
data=TermSetWrapper(value=c_data, termset=terms)
)

with self.assertRaises(ValueError):
compound_vector_data.append(c_data2)
vectordata_termset.append(c_data2)

def test_compound_data_extend(self):
c_data = np.array([('Homo sapiens', 24)], dtype=[('species', 'U50'), ('age', 'i4')])
Expand Down

0 comments on commit da0dcd3

Please sign in to comment.