Facundo Batista
2694eb0219
Just returning nothing instead of rising TestSkipped, because
...
it makes the test fail in the trunk.loewis-sun buildbot.
2008-06-22 19:35:24 +00:00
Facundo Batista
96f3dc36ed
Trying to see if the problem in Martin's buildot is at
...
directory creation time...
2008-06-22 18:23:55 +00:00
Facundo Batista
b8242ba6b1
Trying to see if the @ in a path is causing the issue in the
...
shutil.rmtree() in the trunk.loewis-sun buildbot.
2008-06-22 16:11:34 +00:00
Facundo Batista
5596b0cfc2
Issue #2722 . Now the char buffer to support the path string has
...
not fixed length, it mallocs memory if needed. As a result, we
don't have a maximum for the getcwd() method.
2008-06-22 13:36:20 +00:00
Gregory P. Smith
f48da8fbcd
Fix chown on 64-bit linux. It needed to take a long (64-bit on 64bit linux) as
...
uid and gid input to accept values >=2**31 as valid while still accepting
negative numbers to pass -1 to chown for "no change".
Fixes issue1747858.
This should be backported to release25-maint.
2008-03-18 19:05:32 +00:00
Christian Heimes
c5f05e45cf
Patch #2167 from calvin: Remove unused imports
2008-02-23 17:40:11 +00:00
Martin v. Löwis
382abeff0f
Patch #1490190 : posixmodule now includes os.chflags() and os.lchflags()
...
functions on platforms where the underlying system calls are available.
2007-02-19 10:55:19 +00:00
Skip Montanaro
94785ef142
Correct implementation and documentation of os.confstr. Add a simple test
...
case. I've yet to figure out how to provoke a None return I can test.
2006-04-20 01:29:48 +00:00
Skip Montanaro
9847000267
Add tests for posix O_SHLOCK & O_EXLOCK. Missed checking this in with
...
posixmodule.c 2.335. Really should be considered part of patch #1103951 .
2005-06-17 01:14:49 +00:00
Neal Norwitz
c28e7ad3d0
Try to improve test coverage for utime()
2004-06-06 20:27:05 +00:00
Walter Dörwald
21d3a32b99
Combine the functionality of test_support.run_unittest()
...
and test_support.run_classtests() into run_unittest()
and use it wherever possible.
Also don't use "from test.test_support import ...", but
"from test import test_support" in a few spots.
From SF patch #662807 .
2003-05-01 17:45:56 +00:00
Neal Norwitz
6e54f579a6
Fix SF bug #697556 , test_posix fails: getlogin
...
getlogin() can fail for too many reasons, so remove the test
2003-03-18 13:30:14 +00:00
Neal Norwitz
71b13e8b4c
Fix SF bug #690081 , test_posix fails when run in non-interactive mode
...
Don't bother testing os.getlogin() if we aren't running from a tty (terminal)
It fails when run without a tty (e.g., when run from cron).
2003-02-23 22:12:24 +00:00
Neal Norwitz
2ff51a87b3
Make changes suggested by Walter to use self.assert*() methods.
2003-02-17 22:40:31 +00:00
Tim Peters
003eb30882
test_posix is an expected skip on Win32. Also fixed test_posix to
...
import from test.test_support instead of directly from test_support.
2003-02-17 21:48:48 +00:00
Neal Norwitz
e241ce830a
Added test_posix (hopefully it works on Windows).
...
Remove PyArg_ParseTuple() for methods which take no args,
use METH_NOARGS instead
2003-02-17 18:17:05 +00:00