Skip to content

Commit f747568

Browse files
committed
Fix linting errors
1 parent b9760e1 commit f747568

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/interop/test_validate_gpu_nodes.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -95,15 +95,15 @@ def test_validate_gpu_nodes(openshift_dyn_client):
9595
instance_type = (
9696
gpu_machineset.instance.spec.template.spec.providerSpec.value.instanceType
9797
)
98-
if instance_type == None:
98+
if instance_type is None:
9999
# for Azure
100100
instance_type = (
101101
gpu_machineset.instance.spec.template.spec.providerSpec.value.vmSize
102102
)
103103

104104
logger.info(instance_type)
105105

106-
if instance_type == None:
106+
if instance_type is None:
107107
logger.error(f"FAIL: {err_msg}")
108108
assert False, err_msg
109109

0 commit comments

Comments
 (0)