[libc++] [test] Fix a Python warning.

params.py:106: SyntaxWarning: "is" with a literal. Did you mean "=="?
This commit is contained in:
Arthur O'Dwyer 2021-04-26 16:00:56 -04:00
parent 036b80fcbb
commit 0fcb898f10
1 changed files with 1 additions and 1 deletions

View File

@ -102,7 +102,7 @@ DEFAULT_PARAMETERS = [
Parameter(name='debug_level', choices=['', '0', '1'], type=str, default='',
help="The debugging level to enable in the test suite.",
actions=lambda debugLevel: [] if debugLevel is '' else [
actions=lambda debugLevel: [] if debugLevel == '' else [
AddFeature('debug_level={}'.format(debugLevel)),
AddCompileFlag('-D_LIBCPP_DEBUG={}'.format(debugLevel))
]),