diff options
author | Yaroslav Brustinov <ybrustin@cisco.com> | 2017-02-28 14:21:30 +0200 |
---|---|---|
committer | Yaroslav Brustinov <ybrustin@cisco.com> | 2017-02-28 14:21:30 +0200 |
commit | d3907f0dcac6c6e0d7b3c3abe69c64fe4e9dcaa6 (patch) | |
tree | 526e0d5300550f0c43a6638f80950c253cf141cf /scripts/external_libs/pyzmq-14.5.0/python3/ucs4/32bit/zmq/tests/test_etc.py | |
parent | 2ba80c6a96d3b7af496428a68e59391daad34c86 (diff) |
PyZMQ restore removed by accident version of Python3/32 bits
Change-Id: Ie8a54015a02bdcc5cd0a50faff7b82cf0ad8de93
Signed-off-by: Yaroslav Brustinov <ybrustin@cisco.com>
Diffstat (limited to 'scripts/external_libs/pyzmq-14.5.0/python3/ucs4/32bit/zmq/tests/test_etc.py')
-rw-r--r-- | scripts/external_libs/pyzmq-14.5.0/python3/ucs4/32bit/zmq/tests/test_etc.py | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/scripts/external_libs/pyzmq-14.5.0/python3/ucs4/32bit/zmq/tests/test_etc.py b/scripts/external_libs/pyzmq-14.5.0/python3/ucs4/32bit/zmq/tests/test_etc.py new file mode 100644 index 00000000..ad224064 --- /dev/null +++ b/scripts/external_libs/pyzmq-14.5.0/python3/ucs4/32bit/zmq/tests/test_etc.py @@ -0,0 +1,15 @@ +# Copyright (c) PyZMQ Developers. +# Distributed under the terms of the Modified BSD License. + +import sys + +import zmq + +from . import skip_if + +@skip_if(zmq.zmq_version_info() < (4,1), "libzmq < 4.1") +def test_has(): + assert not zmq.has('something weird') + has_ipc = zmq.has('ipc') + not_windows = not sys.platform.startswith('win') + assert has_ipc == not_windows |