diff options
author | Zachary Turner <zturner@google.com> | 2016-01-27 18:49:31 +0000 |
---|---|---|
committer | Zachary Turner <zturner@google.com> | 2016-01-27 18:49:31 +0000 |
commit | 7289e43831d55be74a2814f2bd83789e5f390a76 (patch) | |
tree | 66438ba12e524c9cffb5d2f4dceb385b64d6f238 /lldb/packages/Python/lldbsuite/test/functionalities/avoids-fd-leak | |
parent | 74b7965d3861ea5bf252701b5d1814cd7e430c87 (diff) | |
download | bcm5719-llvm-7289e43831d55be74a2814f2bd83789e5f390a76.tar.gz bcm5719-llvm-7289e43831d55be74a2814f2bd83789e5f390a76.zip |
Refactor some of the xfail / skip decorators to share logic.
Previously the logic of skipIf and expectedFailure were 99%
the same, but they took different sets of arguments since they
were maintained separately, and had slightly differences in
their behavior. This makes everything consistent, there is now
only one real implementation, and the previous ones are changed
to use the single master implementation.
llvm-svn: 258966
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/functionalities/avoids-fd-leak')
-rw-r--r-- | lldb/packages/Python/lldbsuite/test/functionalities/avoids-fd-leak/TestFdLeak.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lldb/packages/Python/lldbsuite/test/functionalities/avoids-fd-leak/TestFdLeak.py b/lldb/packages/Python/lldbsuite/test/functionalities/avoids-fd-leak/TestFdLeak.py index e4bc08711f4..125ca7505fa 100644 --- a/lldb/packages/Python/lldbsuite/test/functionalities/avoids-fd-leak/TestFdLeak.py +++ b/lldb/packages/Python/lldbsuite/test/functionalities/avoids-fd-leak/TestFdLeak.py @@ -15,7 +15,8 @@ import lldbsuite.test.lldbutil as lldbutil def python_leaky_fd_version(test): import sys # Python random module leaks file descriptors on some versions. - return sys.version_info >= (2, 7, 8) and sys.version_info < (2, 7, 10) + return (sys.version_info >= (2, 7, 8) and sys.version_info < (2, 7, 10), + "Python random module leaks file descriptors in this python version") class AvoidsFdLeakTestCase(TestBase): |