forked from OSchip/llvm-project
[libc++] [test] Fix a Python warning.
params.py:106: SyntaxWarning: "is" with a literal. Did you mean "=="?
This commit is contained in:
parent
036b80fcbb
commit
0fcb898f10
|
@ -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))
|
||||
]),
|
||||
|
|
Loading…
Reference in New Issue