diff --git a/tests/integration/hdf5/test_ecephys.py b/tests/integration/hdf5/test_ecephys.py index dfd1376c6..0ea69c233 100644 --- a/tests/integration/hdf5/test_ecephys.py +++ b/tests/integration/hdf5/test_ecephys.py @@ -40,7 +40,7 @@ def make_electrode_table(self): location='tetrode location', device=self.dev1) for i in range(4): - self.table.add_row(x=i, y=2.0, z=3.0, imp=-1.0, location='CA1', filtering='none', group=self.group, + self.table.add_row(x=float(i), y=2.0, z=3.0, imp=-1.0, location='CA1', filtering='none', group=self.group, group_name='tetrode1') def setUpContainer(self): diff --git a/tests/integration/test_io.py b/tests/integration/test_io.py index 6877ba04f..e3cc87f94 100644 --- a/tests/integration/test_io.py +++ b/tests/integration/test_io.py @@ -275,7 +275,7 @@ def test_append(self): self.assertIs(nwb.processing['test_proc_mod']['LFP'].electrical_series['test_es'].electrodes, nwb.acquisition['timeseries2'].electrodes) errors = validate(io) - self.assertTrue(len(errors) == 0) + self.assertEqual(len(errors), 0, errors) class TestH5DataIO(TestCase):