Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ lint.per-file-ignores."docs/*" = [ "I" ]
lint.per-file-ignores."tests/*" = [ "D" ]
lint.pydocstyle.convention = "numpy"

[tool.pytest.ini_option]
[tool.pytest.ini_options]
markers = [ "gpu: mark test to run on GPU" ]
testpaths = [ "tests" ]
xfail_strict = true
Expand Down
2 changes: 1 addition & 1 deletion tests/test_dataset.py
Original file line number Diff line number Diff line change
Expand Up @@ -413,7 +413,7 @@ def test_3d(
import torch

assert isinstance(x, torch.Tensor)
x = np.array(x.cpu())
x = x.cpu().numpy()
x_list.append(x)
idx_list.append(idxs.ravel())
x = np.vstack(x_list)
Expand Down
Loading