Skip to content

Commit 994a6d3

Browse files
committed
fix tests
1 parent 2b1ae60 commit 994a6d3

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

tests/test_connector.py

+1
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,7 @@ def test_check_cuda_with_nvidia_smi_mock_gpu(mock_subprocess):
8888
],
8989
)
9090
def test_connector(input_accelerator, expected_accelerator, expected_devices):
91+
check_cuda_with_nvidia_smi.cache_clear()
9192
connector = _Connector(accelerator=input_accelerator)
9293
assert (
9394
connector.accelerator == expected_accelerator

0 commit comments

Comments
 (0)