homepage

This issue tracker has been migrated to GitHub , and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author jkloth
Recipients jkloth, paul.moore, steve.dower, tim.golden, vstinner, zach.ware
Date 2016年03月28日.16:49:25
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1459183766.58.0.185896673203.issue26658@psf.upfronthosting.co.za>
In-reply-to
Content
The Win32JunctionTests class fails when the test suite is run on an ImDisk[1]_ virtual disk. The junctions are created successfully, however os.stat() fails on them (winerror 123). os.lstat() does succeed.
I'm inclined to believe that this is a bug in the ImDisk device driver, but when testDown() is run, it fails to remove the newly created junction to the test directory. By leaving the junction in place, when the test runner completes it removes the entire temporary test directory containing the junction thus removing the Lib test directory!
I suggest that at least changing the tearDown() method to use os.path.lexists() to ensure that the junction is removed regardless of its target existing or not.
.. [1] http://www.ltr-data.se/opencode.html/#ImDisk 
History
Date User Action Args
2016年03月28日 16:49:26jklothsetrecipients: + jkloth, paul.moore, vstinner, tim.golden, zach.ware, steve.dower
2016年03月28日 16:49:26jklothsetmessageid: <1459183766.58.0.185896673203.issue26658@psf.upfronthosting.co.za>
2016年03月28日 16:49:26jklothlinkissue26658 messages
2016年03月28日 16:49:26jklothcreate

AltStyle によって変換されたページ (->オリジナル) /