mirror of
https://github.com/dmlc/dgl.git
synced 2026-06-03 19:34:33 +08:00
Correcting the misleading reason for skipping the test. (#7749)
This commit is contained in:
@@ -11,7 +11,9 @@ import torch
|
||||
@unittest.skipIf(
|
||||
F._default_context_str != "gpu"
|
||||
or torch.cuda.get_device_capability()[0] < 7,
|
||||
reason="GPUCachedFeature requires a Volta or later generation NVIDIA GPU.",
|
||||
reason="GPUCachedFeature tests are available only on GPU."
|
||||
if F._default_context_str != "gpu"
|
||||
else "GPUCachedFeature requires a Volta or later generation NVIDIA GPU.",
|
||||
)
|
||||
@pytest.mark.parametrize(
|
||||
"indptr_dtype",
|
||||
|
||||
Reference in New Issue
Block a user