diff options
author | robot-piglet <robot-piglet@yandex-team.com> | 2024-07-13 15:44:43 +0300 |
---|---|---|
committer | robot-piglet <robot-piglet@yandex-team.com> | 2024-07-13 15:55:40 +0300 |
commit | 585f8fd57a4ab83eca0890f5c05e959b79ef4ea4 (patch) | |
tree | 6714fb98ebef8ae413eaf223e3a7b29cf01cedc6 /contrib/python/ipython/py3/IPython/testing | |
parent | e12a75707d4c42a0081e951c9142db0bf460d802 (diff) | |
download | ydb-585f8fd57a4ab83eca0890f5c05e959b79ef4ea4.tar.gz |
Intermediate changes
Diffstat (limited to 'contrib/python/ipython/py3/IPython/testing')
-rw-r--r-- | contrib/python/ipython/py3/IPython/testing/decorators.py | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/contrib/python/ipython/py3/IPython/testing/decorators.py b/contrib/python/ipython/py3/IPython/testing/decorators.py index af42f349d5..97e6918e44 100644 --- a/contrib/python/ipython/py3/IPython/testing/decorators.py +++ b/contrib/python/ipython/py3/IPython/testing/decorators.py @@ -147,10 +147,13 @@ skip_osx = skipif(sys.platform == 'darwin',"This test does not run under OS X") # Decorators to skip tests if not on specific platforms. -skip_if_not_win32 = skipif(sys.platform != 'win32', - "This test only runs under Windows") -skip_if_not_linux = skipif(not sys.platform.startswith('linux'), - "This test only runs under Linux") +skip_if_not_win32 = skipif(sys.platform != "win32", "This test only runs under Windows") +skip_if_not_linux = skipif( + not sys.platform.startswith("linux"), "This test only runs under Linux" +) +skip_if_not_osx = skipif( + not sys.platform.startswith("darwin"), "This test only runs under macOS" +) _x11_skip_cond = (sys.platform not in ('darwin', 'win32') and os.environ.get('DISPLAY', '') == '') |