Skip to content

Commit 2adfe8e

Browse files
committed
Preserve the existing power-limit getter guard
1 parent a014155 commit 2adfe8e

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

‎cuda_bindings/tests/nvml/test_device.py‎

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -144,9 +144,7 @@ def test_read_write_prm(all_devices, subtests):
144144
def test_get_power_management_limit(all_devices, subtests):
145145
for device in all_devices:
146146
# Docs say supported on KEPLER or later
147-
with subtests.test(device_index=nvml.device_get_index(device)), unsupported_before(
148-
device, nvml.DeviceArch.KEPLER
149-
):
147+
with subtests.test(device_index=nvml.device_get_index(device)), unsupported_before(device, None):
150148
nvml.device_get_power_management_limit(device)
151149

152150

0 commit comments

Comments
 (0)