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