Skip to content

Commit

Permalink
Apply automatic formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
pre-commit-ci-lite[bot] authored Sep 10, 2024
1 parent c0e065d commit ea6b3c2
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion tests/file_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -61,5 +61,7 @@ def test_load_entry_from_h5py_group_not_root(tmp_path):
def test_file_from_h5py_group_does_not_allow_extra_args(tmp_path):
with h5.File('test.nxs', 'w', driver='core', backing_store=False) as h5_file:
snx.create_class(h5_file, 'entry', snx.NXentry)
with pytest.raises(TypeError, match='Cannot provide both h5py.File and other arguments'):
with pytest.raises(
TypeError, match='Cannot provide both h5py.File and other arguments'
):
snx.File(h5_file, 'r')

0 comments on commit ea6b3c2

Please sign in to comment.