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 eryksun
Recipients eryksun, itaisteinherz, paul.moore, steve.dower, tim.golden, zach.ware
Date 2022-03-14.18:05:58
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1647281159.04.0.437387408713.issue46785@roundup.psfhosted.org>
In-reply-to
Content
I was following the pattern of StatAttributeTests.test_access_denied(), which uses the current user's temp directory to get a filesystem that supports security. 

It would probably be better to skip tests if the filesystem of the current working directory doesn't support the test, e.g. if it needs NTFS or needs support for security, hard links, or reparse points. For example, Win32JunctionTests should be skipped if reparse points aren't supported. The os_helper module could implement a function that calls GetVolumeInformationW() to get the filesystem name (e.g. "Ntfs") and flags (e.g. FILE_PERSISTENT_ACLS, FILE_SUPPORTS_HARD_LINKS, FILE_SUPPORTS_REPARSE_POINTS).
History
Date User Action Args
2022-03-14 18:05:59eryksunsetrecipients: + eryksun, paul.moore, tim.golden, zach.ware, steve.dower, itaisteinherz
2022-03-14 18:05:59eryksunsetmessageid: <1647281159.04.0.437387408713.issue46785@roundup.psfhosted.org>
2022-03-14 18:05:59eryksunlinkissue46785 messages
2022-03-14 18:05:58eryksuncreate