Skip to content

Commit a406994

Browse files
committed
feature: Add new APIs to pyzes
Related-To: NEO-18575 Signed-off-by: Aviral Nigam <aviral.nigam@intel.com>
1 parent 4ef7818 commit a406994

1 file changed

Lines changed: 6 additions & 6 deletions

File tree

bindings/sysman/python/source/examples/pyzes_black_box_test.py

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -457,9 +457,9 @@ def test_global_operation(driver_handle, device_handle, device_index):
457457

458458
# Initialize each structure
459459
for i in range(subdevice_count.value):
460-
subdevice_props[
461-
i
462-
].stype = pz.ZES_STRUCTURE_TYPE_SUBDEVICE_EXP_PROPERTIES
460+
subdevice_props[i].stype = (
461+
pz.ZES_STRUCTURE_TYPE_SUBDEVICE_EXP_PROPERTIES
462+
)
463463
subdevice_props[i].pNext = None
464464

465465
# Second call to get properties
@@ -988,9 +988,9 @@ def test_power_module(device_handle, device_index):
988988
limit_descs = PowerLimitArray()
989989

990990
for limit_index in range(limit_count.value):
991-
limit_descs[
992-
limit_index
993-
].stype = pz.ZES_STRUCTURE_TYPE_POWER_LIMIT_EXT_DESC
991+
limit_descs[limit_index].stype = (
992+
pz.ZES_STRUCTURE_TYPE_POWER_LIMIT_EXT_DESC
993+
)
994994
limit_descs[limit_index].pNext = None
995995

996996
rc = pz.zesPowerGetLimitsExt(

0 commit comments

Comments
 (0)