[issue37405] socket.getsockname() returns string instead of tuple
FRANK BENNETT
report at bugs.python.org
Mon Mar 22 21:58:56 EDT 2021
FRANK BENNETT <fbennett78 at reagan.com> added the comment:
$ make test TESTOPTS="-v test_socket"
ERROR: testSendFrame (__main__.CANTest)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/s/opt/cpython/debug/test_socket.py", line 2052, in testSendFrame
self.assertEqual(addr[1], socket.AF_CAN)
IndexError: tuple index out of range
$ cat ../.git/config
https://github.com/bennett78/cpython.git
$ uname -r
5.4.0-67-genericg$ cat /etc/issue
Ubuntu 20.04.2 LTS \n \l
$ /s/opt/cpython/debug$ ./python -V
Python 3.10.0a6+
----------
components: +Tests -Documentation, Extension Modules
nosy: +bennett78
versions: +Python 3.10 -Python 3.7
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue37405>
_______________________________________
More information about the Python-bugs-list
mailing list