summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_posix.py
Commit message (Collapse)AuthorAgeFilesLines
* Issue #28759: Fix the tests that fail with PermissionError when run asXavier de Gaye2016-12-131-0/+6
| | | | a non-root user on Android where access rights are controled by SELinux MAC.
* Issue #26944: Fix test_posix for Android where 'id -G' is entirely wrongXavier de Gaye2016-10-191-7/+10
| | | | or missing the effective gid.
* Issue #26027, #27524: Add PEP 519/__fspath__() support to os andBrett Cannon2016-08-261-5/+5
| | | | | | os.path. Thanks to Jelle Zijlstra for the initial patch against posixmodule.c.
* Issue #26800: Undocumented support of general bytes-like objectsSerhiy Storchaka2016-08-061-1/+3
| | | | as paths in os functions is now deprecated.
* Issue #23277: Remove unused imports in tests.Serhiy Storchaka2016-04-241-1/+0
|
* Issue #26671: Fixed tests for changed error messages.Serhiy Storchaka2016-04-081-3/+3
|
* Issue #23738: Merge 3.4 into 3.5Martin Panter2015-09-091-0/+8
|\
| * Issue #23738: Document and test actual keyword parameter namesMartin Panter2015-09-091-0/+8
| | | | | | | | Also fix signature because os.utime(..., ns=None) is not allowed.
* | Issue #23908: os functions now reject paths with embedded null characterSerhiy Storchaka2015-04-201-0/+36
|\ \ | |/ | | | | | | | | on Windows instead of silently truncate them. Removed no longer used _PyUnicode_HasNULChars().
| * Issue #23908: os functions now reject paths with embedded null characterSerhiy Storchaka2015-04-201-0/+36
| | | | | | | | on Windows instead of silently truncate them.
* | Issue #23842: Added tests for os.major(), os.minor() and os.makedev().Serhiy Storchaka2015-04-201-0/+30
|\ \ | |/
| * Issue #23842: Added tests for os.major(), os.minor() and os.makedev().Serhiy Storchaka2015-04-201-0/+30
| |
* | Merge 3.4Victor Stinner2014-10-051-10/+11
|\ \ | |/
| * cleanup test_posixVictor Stinner2014-10-051-9/+10
| |
| * Issue #22390: Remove files created by testsVictor Stinner2014-10-051-1/+1
| |
* | Issue #22054: Add os.get_blocking() and os.set_blocking() functions to get andVictor Stinner2014-07-291-4/+3
|/ | | | | set the blocking mode of a file descriptor (False if the O_NONBLOCK flag is set, True otherwise). These functions are not available on Windows.
* Closes #11279: test_posix and lack of "id -G" support - less noise required? ↵Jesus Cea2014-06-281-1/+1
| | | | (Solaris)
* Issue #21811: Anticipated fixes to 3.x and 2.7 for OS X 10.10 Yosemite.Ned Deily2014-06-251-1/+1
|
* merge 3.3 (#20249)Benjamin Peterson2014-03-021-1/+1
|\
| * fix test_posix.test_initgroups to work without supplemental groups (closes ↵Benjamin Peterson2014-03-021-1/+1
| | | | | | | | #20249)
* | Issue #20517: Functions in the os module that accept two filenamesLarry Hastings2014-02-101-0/+17
| | | | | | | | | | | | now register both filenames in the exception on failure. This required adding new C API functions allowing OSError exceptions to reference two filenames instead of one.
* | Issue #20532: Tests which use _testcapi now are marked as CPython only.Serhiy Storchaka2014-02-071-1/+5
|\ \ | |/
| * Issue #20532: Tests which use _testcapi now are marked as CPython only.Serhiy Storchaka2014-02-071-1/+5
| |
* | (Merge 3.3) Issue #20113: Fix test_posix on OpenIndianaVictor Stinner2014-01-081-2/+16
|\ \ | |/
| * Issue #20113: Fix test_posix on OpenIndianaVictor Stinner2014-01-081-2/+16
| |
* | (Merge 3.3) Issue #20113: os.readv() and os.writev() now raise an OSErrorVictor Stinner2014-01-081-1/+9
|\ \ | |/ | | | | exception on error instead of returning -1.
| * Issue #20113: os.readv() and os.writev() now raise an OSError exception onVictor Stinner2014-01-081-1/+9
| | | | | | | | error instead of returning -1.
| * Issue #18702: All skipped tests now reported as skipped.Serhiy Storchaka2013-11-031-147/+167
| |
* | Issue #18702: All skipped tests now reported as skipped.Serhiy Storchaka2013-11-031-147/+167
| |
* | test_posix.test_pipe2() now checks that the O_NONBLOCK flag is setVictor Stinner2013-08-281-2/+4
| | | | | | | | | | Use also os.get_inheritable() instead of fcntl() to check the inheritable flag (FD_CLOEXEC).
* | remove support for compiling on systems without getcwd()Benjamin Peterson2013-08-241-33/+31
| | | | | | | | | | Do we need a fallback implementation of getcwd() from 1991 that claims to support "really old Unix systems"? I don't think so.
* | Issue #17248: Fix os.*chown() testing when user is in root group.Serhiy Storchaka2013-02-211-1/+1
|\ \ | |/
| * Issue #17248: Fix os.*chown() testing when user is in root group.Serhiy Storchaka2013-02-211-1/+1
| |\
| | * Issue #17248: Fix os.*chown() testing when user is in root group.Serhiy Storchaka2013-02-211-1/+1
| | |
* | | Issue #17248: Fix os.*chown() testing when user has group root.Serhiy Storchaka2013-02-201-2/+3
|\ \ \ | |/ /
| * | Issue #17248: Fix os.*chown() testing when user has group root.Serhiy Storchaka2013-02-201-2/+3
| |\ \ | | |/
| | * Issue #17248: Fix os.*chown() testing when user has group root.Serhiy Storchaka2013-02-201-2/+3
| | |
* | | Issue #15301: Enhance os.*chown() testing. Based on patch by Larry Hastings.Serhiy Storchaka2013-02-201-24/+42
|\ \ \ | |/ /
| * | Issue #15301: Enhance os.*chown() testing. Based on patch by Larry Hastings.Serhiy Storchaka2013-02-201-24/+42
| |\ \ | | |/
| | * Issue #15301: Enhance os.*chown() testing. Based on patch by Larry Hastings.Serhiy Storchaka2013-02-201-24/+42
| | |
| | * Issue #4591: Uid and gid values larger than 2**31 are supported now.Serhiy Storchaka2013-02-121-6/+23
| | |
* | | Issue #4591: Uid and gid values larger than 2**31 are supported now.Serhiy Storchaka2013-02-101-6/+23
|\ \ \ | |/ /
| * | Issue #4591: Uid and gid values larger than 2**31 are supported now.Serhiy Storchaka2013-02-101-6/+23
| | |
* | | Issue #16698: merge from 3.3Ned Deily2013-02-021-0/+7
|\ \ \ | |/ /
| * | Issue #16698: merge from 3.2Ned Deily2013-02-021-0/+7
| |\ \ | | |/
| | * Issue #16698: Skip posix test_getgroups when built with OS XNed Deily2013-02-021-0/+7
| | | | | | | | | | | | deployment target prior to 10.6.
| * | Issue #15989: Fix several occurrences of integer overflowSerhiy Storchaka2013-01-191-0/+5
| |\ \ | | |/ | | | | | | | | | | | | when result of PyLong_AsLong() narrowed to int without checks. This is a backport of changesets 13e2e44db99d and 525407d89277.
| * | Fix test_posix failure on NetBSD buildbots: sched_setparam() andCharles-François Natali2013-01-131-10/+10
| | | | | | | | | | | | | | | sched_setscheduler() can fail with EINVAL if the process scheduling policy is neither SCHED_FIFO nor SCHED_RR.
* | | Issue #15989: Fix several occurrences of integer overflowSerhiy Storchaka2013-01-141-0/+5
| | | | | | | | | | | | when result of PyLong_AsLong() narrowed to int without checks.
* | | Fix test_posix failure on NetBSD buildbots: sched_setparam() andCharles-François Natali2013-01-131-10/+10
| | | | | | | | | | | | | | | sched_setscheduler() can fail with EINVAL if the process scheduling policy is neither SCHED_FIFO nor SCHED_RR.