[New-bugs-announce] [issue19791] test_pathlib should use can_symlink or skip_unless_symlink from test.support

Vajrasky Kok report at bugs.python.org
Tue Nov 26 08:03:08 CET 2013


New submission from Vajrasky Kok:

Right now, Lib/test/test_pathlib.py uses custom checking symbolic link function. But in test.support, we have those functions already (can_symlink and skip_unless_symlink). The only feature that test.support checking symbolic link functions don't have is getting the reason why we don't have symbolic link support. But we can create a separate ticket to add that feature in test.support.

Attached the patch to use can_symlink and skip_unless_symlink. It also removed unnecessary import.

----------
components: Tests
files: use_can_symlink_from_test_support.patch
keywords: patch
messages: 204456
nosy: pitrou, vajrasky
priority: normal
severity: normal
status: open
title: test_pathlib should use can_symlink or skip_unless_symlink from test.support
type: behavior
versions: Python 3.4
Added file: http://bugs.python.org/file32850/use_can_symlink_from_test_support.patch

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


More information about the New-bugs-announce mailing list