New submission from Hirokazu Yamamoto <ocean-c...@m2.ccsnet.ne.jp>:

test_long_key fails on win2k + python2.x.

======================================================================
ERROR: test_long_key (__main__.LocalWinregTests)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "test_winreg.py", line 279, in test_long_key
    DeleteKey(HKEY_CURRENT_USER, '\\'.join((test_key_name, name)))
WindowsError: [Error 234] データがさらにあります。

# Error says "More data is available"

According to
http://msdn.microsoft.com/en-us/library/ms724872(v=VS.85).aspx
  Value name:
    Windows 2000:  260 ANSI characters or 16,383 Unicode characters.

Windows 2000 cannot handle long value name like *name* in the test,
so I think we should skip the test on Windows 2000.

I confirmed test runs fine on python3.x. Probably because it uses unicode Win32 
API.

----------
components: Tests, Windows
files: skip_test_long_key.patch
keywords: patch
messages: 110620
nosy: ocean-city
priority: normal
severity: normal
stage: patch review
status: open
title: Skip test_long_key(test_winreg) on win2k + py2.x
versions: Python 2.6, Python 2.7
Added file: http://bugs.python.org/file18048/skip_test_long_key.patch

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue9289>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to