Skip to content

Commit

Permalink
fixed tests
Browse files Browse the repository at this point in the history
  • Loading branch information
ywkure committed Feb 17, 2021
1 parent 06f229a commit b613dd8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Empty file added tests/assets/random/empty.txt
Empty file.
6 changes: 3 additions & 3 deletions tests/test_napari_split_dataset.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
("fake", False),
(ASSETS_PATH / "sample_3d", True),
(ASSETS_PATH / "sample_4d", True),
(ASSETS_PATH / "empty", True),
(ASSETS_PATH / "random", True),
(ASSETS_PATH / "array.h5", True),
(ASSETS_PATH / "dict_stack.h5", True),
(ASSETS_PATH / "dict_shift.h5", True),
Expand All @@ -36,7 +36,7 @@ def test_reader(path, expected):
[
(ASSETS_PATH / "sample_3d", ndarray),
(ASSETS_PATH / "sample_4d", Array),
(ASSETS_PATH / "empty", type(None)),
(ASSETS_PATH / "random", type(None)),
(ASSETS_PATH / "array.h5", type(None)),
],
)
Expand All @@ -51,7 +51,7 @@ def test_dir_reader(path, expected):
"path, expected",
[
(ASSETS_PATH / "sample_4d", type(None)),
(ASSETS_PATH / "empty", type(None)),
(ASSETS_PATH / "random", type(None)),
(ASSETS_PATH / "array.h5", ndarray),
(ASSETS_PATH / "dict_stack.h5", ndarray),
(ASSETS_PATH / "dict_shift.h5", type(None)),
Expand Down

0 comments on commit b613dd8

Please sign in to comment.