[issue4797] test_fileio error (windows)

Hirokazu Yamamoto report at bugs.python.org
Thu Jan 1 06:06:10 CET 2009


New submission from Hirokazu Yamamoto <ocean-city at m2.ccsnet.ne.jp>:

This patch fixes this error.

http://www.python.org/dev/buildbot/trunk.stable/x86%20XP-4%
20trunk/builds/1727/step-test/0

======================================================================
FAIL: testOpendir (test.test_fileio.AutoFileTests)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "E:\cygwin\home\db3l\buildarea\trunk.bolen-
windows\build\lib\test\test_fileio.py", line 112, in testOpendir
    self.assertEqual(e.filename, ".")
AssertionError: None != '.'

This error doesn't occur on py3k (because wide string is passed) but I 
think It's better to merge the patch into py3k too.

----------
components: Windows
files: fix_test_fileio_error.patch
keywords: patch
messages: 78690
nosy: ocean-city
severity: normal
status: open
title: test_fileio error (windows)
type: behavior
versions: Python 2.6, Python 2.7
Added file: http://bugs.python.org/file12515/fix_test_fileio_error.patch

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


More information about the Python-bugs-list mailing list