This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author neologix
Recipients neologix, sbt, vstinner
Date 2013-08-24.22:42:00
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <CAH_1eM1V8hMPbSCZMrJbiTUuB8WLHZ6hAkmLJRPwFJ-usdZTYw@mail.gmail.com>
In-reply-to <CAMpsgwbemXcH0_ftQKKkr0Kk8y2Pc4GLMGx4HuHmgwmr_HjzhQ@mail.gmail.com>
Content
>     self.assertEqual(sock.family, socket.AF_UNIX)
> AssertionError: 2 != 1

This is normal.

======================================================================
> FAIL: test_sendall_interrupted (test.test_socket.GeneralModuleTests)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File "/home/haypo/prog/python/default/Lib/test/test_socket.py", line
> 1259, in test_sendall_interrupted
>     self.check_sendall_interrupted(False)
>   File "/home/haypo/prog/python/default/Lib/test/test_socket.py", line
> 1248, in check_sendall_interrupted
>     c.sendall(b"x" * (1024**2))
> AssertionError: ZeroDivisionError not raised

Not this one.
I can't reproduce it on my Linux box, could you post the result of:

$ strace -ttTf ./python -m test -v -m test_sendall_interrupted test_socket
History
Date User Action Args
2013-08-24 22:42:00neologixsetrecipients: + neologix, vstinner, sbt
2013-08-24 22:42:00neologixlinkissue18643 messages
2013-08-24 22:42:00neologixcreate