We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 792ab3c commit dad7ccbCopy full SHA for dad7ccb
1 file changed
cuda_core/tests/system/test_system_device.py
@@ -547,7 +547,9 @@ def test_get_inforom_version():
547
with unsupported_before(device, "HAS_INFOROM"):
548
board_part_number = inforom.board_part_number
549
assert isinstance(board_part_number, str)
550
- assert len(board_part_number) > 0
+
551
+ # Some boards (e.g. NVIDIA T4G) do not program a board part number
552
+ assert board_part_number == "" or board_part_number.strip() == board_part_number
553
554
inforom.validate()
555
0 commit comments