Skip to content

Commit 80463f6

Browse files
authored
Fix test_get_nv_link_supported_bw_modes (#1594)
1 parent 9e33c7d commit 80463f6

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

cuda_bindings/tests/nvml/test_device.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ def test_get_nv_link_supported_bw_modes(all_devices):
7171
for device in all_devices:
7272
with unsupported_before(device, None):
7373
modes = nvml.device_get_nvlink_supported_bw_modes(device)
74-
assert isinstance(modes, nvml.NvLinkSupportedBWModes)
74+
assert isinstance(modes, nvml.NvLinkSupportedBWModes_v1)
7575
# #define NVML_NVLINK_TOTAL_SUPPORTED_BW_MODES 23
7676
assert len(modes.bw_modes) <= 23
7777
assert not hasattr(modes, "total_bw_modes")

0 commit comments

Comments
 (0)