mirror of
https://github.com/huggingface/kernels.git
synced 2025-10-20 12:33:46 +08:00
fix: run black linter
This commit is contained in:
@ -144,7 +144,9 @@ def test_version():
|
|||||||
get_kernel("kernels-test/versions", version=">0.2.0")
|
get_kernel("kernels-test/versions", version=">0.2.0")
|
||||||
|
|
||||||
with pytest.raises(ValueError, match=r"Either a revision or a version.*not both"):
|
with pytest.raises(ValueError, match=r"Either a revision or a version.*not both"):
|
||||||
kernel = get_kernel("kernels-test/versions", revision="v0.1.0", version="<1.0.0")
|
kernel = get_kernel(
|
||||||
|
"kernels-test/versions", revision="v0.1.0", version="<1.0.0"
|
||||||
|
)
|
||||||
|
|
||||||
|
|
||||||
@pytest.mark.cuda_only
|
@pytest.mark.cuda_only
|
||||||
|
Reference in New Issue
Block a user