Skip to content

Commit 3a2499e

Browse files
committed
reason
1 parent 056ed0d commit 3a2499e

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

tests/tests_fabric/plugins/precision/test_bitsandbytes.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929

3030

3131
@pytest.mark.skipif(_BITSANDBYTES_AVAILABLE, reason="bitsandbytes needs to be unavailable")
32-
@pytest.mark.skipif(platform.system() == "Darwin") # skip on Mac as Bitsandbytes is only supported on CUDA GPUs
32+
@pytest.mark.skipif(platform.system() == "Darwin", reason="Bitsandbytes is only supported on CUDA GPUs") # skip on Mac
3333
def test_bitsandbytes_plugin(monkeypatch):
3434
module = lightning.fabric.plugins.precision.bitsandbytes
3535
monkeypatch.setattr(module, "_BITSANDBYTES_AVAILABLE", lambda: True)

tests/tests_pytorch/plugins/precision/test_bitsandbytes.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626

2727

2828
@pytest.mark.skipif(_BITSANDBYTES_AVAILABLE, reason="bitsandbytes needs to be unavailable")
29-
@pytest.mark.skipif(platform.system() == "Darwin") # skip on Mac as Bitsandbytes is only supported on CUDA GPUs
29+
@pytest.mark.skipif(platform.system() == "Darwin", reason="Bitsandbytes is only supported on CUDA GPUs") # skip on Mac
3030
def test_bitsandbytes_plugin(monkeypatch):
3131
module = lightning.fabric.plugins.precision.bitsandbytes
3232
monkeypatch.setattr(module, "_BITSANDBYTES_AVAILABLE", lambda: True)

0 commit comments

Comments
 (0)