summaryrefslogtreecommitdiffstats
path: root/Lib/test/symlink_support.py
Commit message (Collapse)AuthorAgeFilesLines
* This file was obsolted by a number of adjustments to the os.symlink testsBrian Curtin2010-12-281-206/+0
| | | | on Windows, and is no longer needed by any tests or Lib/test/support.py
* Re-flow several long lines from #1578269.Brian Curtin2010-07-091-3/+6
|
* Implement #1578269. Patch by Jason R. Coombs.Brian Curtin2010-07-081-0/+203
Added Windows support for os.symlink when run on Windows 6.0 or greater, aka Vista. Previous Windows versions will raise NotImplementedError when trying to symlink. Includes numerous test updates and additions to test_os, including a symlink_support module because of the fact that privilege escalation is required in order to run the tests to ensure that the user is able to create symlinks. By default, accounts do not have the required privilege, so the escalation code will have to be exposed later (or documented on how to do so). I'll be following up with that work next. Note that the tests use ctypes, which was agreed on during the PyCon language summit.