Skip to content

Commit

Permalink
Correcting the misleading reason for skipping the test. (#7749)
Browse files Browse the repository at this point in the history
  • Loading branch information
drivanov committed Aug 30, 2024
1 parent a719465 commit bb02829
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion tests/python/pytorch/graphbolt/impl/test_gpu_graph_cache.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,9 @@
@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",
Expand Down

0 comments on commit bb02829

Please sign in to comment.