[New-bugs-announce] [issue6036] test_posixpath.py

Philipp Hagemeister report at bugs.python.org
Sat May 16 11:20:58 CEST 2009


New submission from Philipp Hagemeister <phihag at phihag.de>:

At line 300 (version 72674) there is the following interesting construction:

if hasattr(os, "symlink"):
     if hasattr(os, "symlink"):
          (...)
     (...)

hasattr is idempotent.

Additionally, test_posixpath.py is missing the shebang and the
svn:executable property.

----------
components: Tests
files: test_posixpath-cleanup.diff
keywords: patch
messages: 87871
nosy: phihag
severity: normal
status: open
title: test_posixpath.py
versions: Python 2.7, Python 3.2
Added file: http://bugs.python.org/file13995/test_posixpath-cleanup.diff

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


More information about the New-bugs-announce mailing list