diff options
author | Adrian Prantl <aprantl@apple.com> | 2018-12-20 23:50:32 +0000 |
---|---|---|
committer | Adrian Prantl <aprantl@apple.com> | 2018-12-20 23:50:32 +0000 |
commit | 33c46ca675c8b6728240af5630ab9f39bf9e8bdc (patch) | |
tree | 6a3815df283b4b2f3240d39dc96cbaea8d6b7748 /lldb/packages/Python/lldbsuite/test | |
parent | 23b28703f92a1214515a8cf7148c9687d2c32a49 (diff) | |
download | bcm5719-llvm-33c46ca675c8b6728240af5630ab9f39bf9e8bdc.tar.gz bcm5719-llvm-33c46ca675c8b6728240af5630ab9f39bf9e8bdc.zip |
Fix typo
llvm-svn: 349861
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test')
-rw-r--r-- | lldb/packages/Python/lldbsuite/test/decorators.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lldb/packages/Python/lldbsuite/test/decorators.py b/lldb/packages/Python/lldbsuite/test/decorators.py index c0813f191c8..cacd718f783 100644 --- a/lldb/packages/Python/lldbsuite/test/decorators.py +++ b/lldb/packages/Python/lldbsuite/test/decorators.py @@ -810,6 +810,6 @@ def skipUnlessFeature(feature): def skipIfSanitized(func): """Skip this test if the environment is set up to run LLDB itself under ASAN.""" def is_sanitized(): - return (('DYLD_INSERT_LIBRARIES' in os.env) and - 'libclang_rt.asan' in os.env['DYLD_INSERT_LIBRARIES']) + return (('DYLD_INSERT_LIBRARIES' in os.environ) and + 'libclang_rt.asan' in os.environ['DYLD_INSERT_LIBRARIES']) return skipTestIfFn(is_sanitized)(func) |