[issue31643] test_uuid: test_getnode and test_windll_getnode fail if connected to the Internet via an Android phone

Ivan Pozdeev report at bugs.python.org
Fri Sep 29 19:30:48 EDT 2017


Ivan Pozdeev <ivan_pozdeev at mail.ru> added the comment:

Example failure:

======================================================================
FAIL: test_windll_getnode (test.test_uuid.TestInternals)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "C:\Ivan\cpython\lib\test\test_uuid.py", line 501, in test_windll_getnode

    self.check_node(node)
  File "C:\Ivan\cpython\lib\test\test_uuid.py", line 449, in check_node
    "%s is not an RFC 4122 node ID" % hex)
AssertionError: False is not true : 000000000000 is not an RFC 4122 node ID

======================================================================
FAIL: test_getnode (test.test_uuid.TestUUID)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "C:\Ivan\cpython\lib\test\test_uuid.py", line 296, in test_getnode
    self.assertTrue(0 < node1 < (1 << 48), '%012x' % node1)
AssertionError: False is not true : 000000000000

----------

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue31643>
_______________________________________


More information about the Python-bugs-list mailing list