[New-bugs-announce] [issue25098] test_uuid fails with pywin32 installed

Zachary Ware report at bugs.python.org
Mon Sep 14 06:23:55 CEST 2015


New submission from Zachary Ware:

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.

----------
components: Library (Lib), Windows
messages: 250612
nosy: paul.moore, steve.dower, tim.golden, zach.ware
priority: normal
severity: normal
stage: needs patch
status: open
title: test_uuid fails with pywin32 installed
type: behavior
versions: Python 3.4

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue25098>
_______________________________________


More information about the New-bugs-announce mailing list