Skip to content

Commit

Permalink
Fixing lint problem
Browse files Browse the repository at this point in the history
  • Loading branch information
drivanov committed Sep 25, 2024
1 parent 3b52cdb commit 43b54a1
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@ def test_hetero_cached_feature(cached_feature_type):
):
pytest.skip(
"GPUCachedFeature tests are available only when testing the GPU backend."
if F._default_context_str != "gpu" else
"GPUCachedFeature requires a Volta or later generation NVIDIA GPU."
if F._default_context_str != "gpu"
else "GPUCachedFeature requires a Volta or later generation NVIDIA GPU."
)
device = F.ctx() if cached_feature_type == gb.gpu_cached_feature else None
pin_memory = cached_feature_type == gb.gpu_cached_feature
Expand Down

0 comments on commit 43b54a1

Please sign in to comment.