summaryrefslogtreecommitdiff
path: root/Lib/test/test_stat.py
Commit message (Collapse)AuthorAgeFilesLines
* bpo-40275: Avoid importing socket in test.support (GH-19603)Serhiy Storchaka2020-04-251-3/+3
| | | | | | * Move socket related functions from test.support to socket_helper. * Import socket, nntplib and urllib.error lazily in transient_internet(). * Remove importing multiprocess.
* bpo-38109: Add missing constants to Lib/stat.py (GH-16665)Ronan Lamy2019-10-101-6/+2
| | | | | Add missing stat.S_IFDOOR, stat.S_IFPORT, stat.S_IFWHT, stat.S_ISDOOR, stat.S_ISPORT, and stat.S_ISWHT values to the Python implementation of the stat module.
* bpo-36341: Fix tests calling bind() on AF_UNIX sockets (GH-12399)xdegaye2019-05-031-2/+3
| | | | | | | Those tests may fail with PermissionError. https://bugs.python.org/issue36341
* closes bpo-34353: Add sockets to stat.filemode fallback python ↵GPery2018-08-091-0/+9
| | | | | | implementation. (GH-8703)
* bpo-28759: Skip some tests on PermissionError raised by Android (GH-4350)xdegaye2017-11-121-3/+5
| | | | | | Access to mkfifo(), mknod() and hard link creation is controled by SELinux on Android. Also remove test.support.android_not_root.
* Issue #28759: Fix the tests that fail with PermissionError when run asXavier de Gaye2016-12-131-1/+2
| | | | a non-root user on Android where access rights are controled by SELinux MAC.
* Issue #21741: Add st_file_attributes to os.stat_result on Windows.Zachary Ware2014-06-191-0/+29
| | | | Patch by Ben Hoyt.
* Issue #18322: fix some test_stat nits.Antoine Pitrou2013-06-291-11/+7
|
* Solaris' /dev/null is a symlink. The device test now uses stat instead of ↵Christian Heimes2013-06-231-4/+7
|\ | | | | | | | | | | lstat to compensate for symlinks.
| * Solaris' /dev/null is a symlink. The device test now uses stat instead of ↵Christian Heimes2013-06-231-4/+7
| | | | | | | | | | | | lstat to compensate for symlinks.
* | Issue #11016: Add C implementation of the stat module as _statChristian Heimes2013-06-221-20/+37
|/
* BSD: block devices are goneChristian Heimes2013-06-221-1/+1
| | | | http://www.freebsd.org/doc/en/books/arch-handbook/driverbasics-block.html
* Fix test_stat on BSD, /dev/da0 and /dev/ad0 are linksChristian Heimes2013-06-211-1/+2
|
* Add tests for untested features of the 'stat' module (part of issue #11016)Christian Heimes2013-06-211-13/+132
|
* #14807: fix BB failures on Windows - avoid to to rely too many details of ↵Giampaolo Rodola'2012-05-161-11/+22
| | | | the mode string.
* #14807: fix bb failure due to symlink test relying on hard-coded permissionsGiampaolo Rodola'2012-05-151-1/+1
|
* #14807: move undocumented tarfile.filemode() to stat.filemode(). Add ↵Giampaolo Rodola'2012-05-151-0/+55
tarfile.filemode alias with deprecation warning.