summaryrefslogtreecommitdiff
path: root/kafka/protocol/api.py
diff options
context:
space:
mode:
authorIvan A. Melnikov <iv@altlinux.org>2019-08-12 11:42:06 +0400
committerJeff Widman <jeff@jeffwidman.com>2019-08-15 11:36:05 -0700
commit2180d312c36e62c7175c112b38cbde79c3c90377 (patch)
tree090befe4f4cc5917d16feb45c8e5f038cec4fc6e /kafka/protocol/api.py
parentea35fdfe1d66eb481e3406ad161a1255573dd50f (diff)
downloadkafka-python-2180d312c36e62c7175c112b38cbde79c3c90377.tar.gz
tests: Use socket.SOCK_STREAM in assertions
socket.SOCK_STREAM is platform specific and on some platforms (most notably on Linux on MIPS) does not equal 1; so it's better to use the constant where appropriate. This change fixes the tests on my MIPS32 LE machine. Signed-off-by: Ivan A. Melnikov <iv@altlinux.org>
Diffstat (limited to 'kafka/protocol/api.py')
0 files changed, 0 insertions, 0 deletions