Skip to content

Commit 28edf2d

Browse files
authored
Correct the syntax
1 parent a79352f commit 28edf2d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lldb/packages/Python/lldbsuite/test/decorators.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1155,7 +1155,7 @@ def skipIfBuildType(types: list[str]):
11551155
"""
11561156
types = [name.lower() for name in types]
11571157
return unittest.skipIf(
1158-
configuration.cmake_build_type != None &&
1158+
configuration.cmake_build_type is not None and
11591159
configuration.cmake_build_type.lower() in types,
11601160
"skip on {} build type(s)".format(", ".join(types)),
11611161
)

0 commit comments

Comments
 (0)