summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_posix.py
Commit message (Collapse)AuthorAgeFilesLines
...
* Merge p3yk branch with the trunk up to revision 45595. This breaks a fairThomas Wouters2006-04-211-0/+5
| | | | | | | | | | | | | | | | | | | | number of tests, all because of the codecs/_multibytecodecs issue described here (it's not a Py3K issue, just something Py3K discovers): http://mail.python.org/pipermail/python-dev/2006-April/064051.html Hye-Shik Chang promised to look for a fix, so no need to fix it here. The tests that are expected to break are: test_codecencodings_cn test_codecencodings_hk test_codecencodings_jp test_codecencodings_kr test_codecencodings_tw test_codecs test_multibytecodec This merge fixes an actual test failure (test_weakref) in this branch, though, so I believe merging is the right thing to do anyway.
* Add tests for posix O_SHLOCK & O_EXLOCK. Missed checking this in withSkip Montanaro2005-06-171-0/+31
| | | | posixmodule.c 2.335. Really should be considered part of patch #1103951.
* Try to improve test coverage for utime()Neal Norwitz2004-06-061-0/+4
|
* Combine the functionality of test_support.run_unittest()Walter Dörwald2003-05-011-20/+18
| | | | | | | | | | 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.
* Fix SF bug #697556, test_posix fails: getloginNeal Norwitz2003-03-181-6/+0
| | | | getlogin() can fail for too many reasons, so remove the test
* Fix SF bug #690081, test_posix fails when run in non-interactive modeNeal Norwitz2003-02-231-1/+8
| | | | | 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).
* Make changes suggested by Walter to use self.assert*() methods.Neal Norwitz2003-02-171-26/+14
|
* test_posix is an expected skip on Win32. Also fixed test_posix toTim Peters2003-02-171-1/+1
| | | | import from test.test_support instead of directly from test_support.
* Added test_posix (hopefully it works on Windows).Neal Norwitz2003-02-171-0/+172
Remove PyArg_ParseTuple() for methods which take no args, use METH_NOARGS instead