We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 78f72dd commit 326d522Copy full SHA for 326d522
1 file changed
cuda_bindings/tests/nvml/test_device.py
@@ -4,6 +4,7 @@
4
5
from functools import cache
6
7
+import numpy as np
8
import pytest
9
10
from cuda.bindings import nvml
@@ -78,7 +79,7 @@ def test_get_nv_link_supported_bw_modes(all_devices):
78
79
assert not hasattr(modes, "total_bw_modes")
80
81
for mode in modes.bw_modes:
- assert isinstance(mode, int)
82
+ assert isinstance(mode, np.uint8)
83
84
85
def test_device_get_pdi(all_devices):
0 commit comments