Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

tests: Use socket.SOCK_STREAM in assertions #1879

Merged
merged 1 commit into from
Aug 15, 2019

Commits on Aug 12, 2019

  1. 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>
    iv-m committed Aug 12, 2019
    Configuration menu
    Copy the full SHA
    91b0641 View commit details
    Browse the repository at this point in the history