Issue 25098: test_uuid fails with pywin32 installed (original) (raw)

Created on 2015-09-14 04:23 by zach.ware, last changed 2022-04-11 14:58 by admin.

Messages (4)
msg250612 - (view) Author: Zachary Ware (zach.ware) * (Python committer) Date: 2015-09-14 04:23
With installed Python with pywin32 installed: ====================================================================== ERROR: test_netbios_getnode (test.test_uuid.TestInternals) ---------------------------------------------------------------------- Traceback (most recent call last): File "C:\Python34\lib\test\test_uuid.py", line 479, in test_netbios_getnode node = uuid._netbios_getnode() File "C:\Python34\lib\uuid.py", line 432, in _netbios_getnode adapters._pack() File "C:\Python34\lib\site-packages\win32\lib\netbios.py", line 219, in _pack self._buffer_[:] = struct.pack(*(self._format,) + tuple(vals)) struct.error: argument for 's' must be a bytes object Assumed to affect all 3.x versions, but only confirmed on 3.4.
msg250634 - (view) Author: Serhiy Storchaka (serhiy.storchaka) * (Python committer) Date: 2015-09-14 06:32
Looks as a bug in pywin32.
msg303237 - (view) Author: STINNER Victor (vstinner) * (Python committer) Date: 2017-09-28 13:44
Zachary: any update on this issue? Is it still a bug?
msg303256 - (view) Author: Zachary Ware (zach.ware) * (Python committer) Date: 2017-09-28 15:21
Still fails on Python 3.6.1 with pypiwin32-220; those are the versions I have handy to check on. I've not managed to report it to pywin32 or look into it any deeper, though. If someone can confirm that it's definitely their bug, this can be closed as third-party.
History
Date User Action Args
2022-04-11 14:58:20 admin set github: 69285
2017-09-28 15:21:44 zach.ware set messages: +
2017-09-28 13:44:53 vstinner set nosy: + vstinnermessages: +
2015-09-14 06:32:54 serhiy.storchaka set nosy: + serhiy.storchakamessages: +
2015-09-14 04:23:54 zach.ware create