Commit Graph

63 Commits

Author SHA1 Message Date
Serhiy Storchaka
77c9106621 Fixed a test for issue23908 with C locale. 2016-07-03 10:53:39 +03:00
Serhiy Storchaka
3c9ce74c21 Issue #23908: os functions, open() and the io.FileIO constructor now reject
unicode paths with embedded null character on Windows instead of silently
truncate them.
2016-07-01 23:34:44 +03:00
Serhiy Storchaka
9aa16d93c9 Issue #23842: os.major(), os.minor() and os.makedev() now support ints again. 2015-04-20 09:21:23 +03:00
Benjamin Peterson
e373754056 don't segfault when trying to fdopen() a fd for a dir (closes #22259)
Patch from Brian Kearns.
2014-08-24 10:37:12 -05:00
Jesus Cea
fd3ba7b261 Closes #11279: test_posix and lack of "id -G" support - less noise required? (Solaris) 2014-06-28 18:39:01 +02:00
Ned Deily
1f70b878c4 Issue #21811: Anticipated fixes to 3.x and 2.7 for OS X 10.10 Yosemite. 2014-06-25 13:33:57 -07:00
Benjamin Peterson
5918f8f612 'sunos' not 'solaris 2014-05-17 16:33:59 -07:00
Benjamin Peterson
15773c893f just skip this test on Solaris 2014-05-17 16:07:53 -07:00
Benjamin Peterson
6800d93eec some platforms apparently don't care about fdopen'ing with a different mode 2014-05-17 15:50:38 -07:00
Benjamin Peterson
5c863bf938 when an exception is raised in fdopen, never close the fd (changing on my mind on #21191) 2014-04-14 19:45:46 -04:00
Benjamin Peterson
02ab7a84ef make sure fdopen always closes the fd in error cases (closes #21191) 2014-04-09 15:40:18 -04:00
Benjamin Peterson
bde1cfb0cd fix test_posix.test_initgroups to work without supplemental groups (closes #20249) 2014-03-01 19:14:12 -05:00
Zachary Ware
1f70221b86 Issue #19572: More silently skipped tests explicitly skipped. 2013-12-10 14:09:20 -06:00
Serhiy Storchaka
32e23e739f Issue #18702: All skipped tests now reported as skipped. 2013-11-03 23:15:46 +02:00
Serhiy Storchaka
484dee38e6 Issue #17248: Fix os.*chown() testing when user is in root group. 2013-02-21 14:33:45 +02:00
Serhiy Storchaka
fffc479f15 Issue #17248: Fix os.*chown() testing when user has group root. 2013-02-20 19:47:31 +02:00
Serhiy Storchaka
3e188c4ebb Issue #15301: Enhance os.*chown() testing. Based on patch by Larry Hastings. 2013-02-20 19:39:59 +02:00
Serhiy Storchaka
da5c2a0646 Issue #4591: Uid and gid values larger than 2**31 are supported now. 2013-02-12 09:27:53 +02:00
Ned Deily
cc23cc672f Issue #16698: Skip posix test_getgroups when built with OS X
deployment target prior to 10.6.
2013-02-02 15:06:45 -08:00
Victor Stinner
8c7c697e49 Issue #15747: skip chflags UF_IMMUTABLE tests if EOPNOTSUPP is raised.
This is necessary for ZFS systems, which don't support UF_IMMUTABLE.
--
Kubilay Kocak (koobs) asked me on IRC to backport this fix to Python 2.7: done!
2012-12-04 10:07:16 +01:00
Trent Nelson
da4277a739 Issue #15765: Fix quirky NetBSD getcwd() behaviour.
This is done by extending a previous fix for issue #9185 that was made for
Solaris and OpenBSD to NetBSD as well.
2012-08-29 09:20:41 -04:00
Charles-François Natali
dee8dadf31 os.popen().close() returns None on success, not 0... 2012-05-02 20:48:21 +02:00
Charles-François Natali
666a573fa6 Issue #14698: Make test_posix more robust when the current UID doesn't have an
associated pwd entry.
2012-05-02 20:00:37 +02:00
Charles-François Natali
f838764444 Issue #5113: Fix a test_posix failure on HP-UX, where non-root users can
chown() to root under certain circumstances.
2012-04-17 19:46:06 +02:00
Ned Deily
d88131afd9 Issue #8746: Use tempfile module to get tempdir and randomize the
link file name.
2011-07-26 13:52:14 -07:00