Skip to content

Commit

Permalink
remove warning from test
Browse files Browse the repository at this point in the history
  • Loading branch information
bendichter committed Aug 1, 2023
1 parent f8e35d3 commit df2a32e
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions tests/unit/test_file.py
Original file line number Diff line number Diff line change
Expand Up @@ -563,9 +563,8 @@ def test_simple(self):
with NWBHDF5IO(self.path, 'w') as io:
io.write(nwbfile, cache_spec=False)

with self.assertWarnsWith(UserWarning, "No cached namespaces found in %s" % self.path):
with NWBHDF5IO(self.path, 'r') as reader:
nwbfile = reader.read()
with NWBHDF5IO(self.path, 'r') as reader:
nwbfile = reader.read()


class TestTimestampsRefDefault(TestCase):
Expand Down

0 comments on commit df2a32e

Please sign in to comment.