summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_platform.py
Commit message (Collapse)AuthorAgeFilesLines
* Merged revisions 70594-70595 via svnmerge fromMarc-André Lemburg2009-03-251-20/+29
| | | | | | | | | | | | | | | | | | | | svn+pythonssh://pythondev@svn.python.org/python/trunk ........ r70594 | marc-andre.lemburg | 2009-03-25 20:44:58 +0100 (Wed, 25 Mar 2009) | 9 lines Remove the sys.version_info shortcut, since they cause the APIs to return different information than the _sys_version() output used in previous Python versions. This also fixes issue5561: platform.python_version_tuple returns tuple of ints, should be strings Added more tests for the various platform functions. ........ r70595 | marc-andre.lemburg | 2009-03-25 20:45:33 +0100 (Wed, 25 Mar 2009) | 3 lines News item for the platform.py fix (r70594). ........
* Merged revisions 66809-66810,66835,66862-66863 via svnmerge fromHirokazu Yamamoto2008-10-091-0/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r66809 | hirokazu.yamamoto | 2008-10-06 10:57:03 +0900 | 1 line Added the test for issue3762. ........ r66810 | hirokazu.yamamoto | 2008-10-06 11:41:59 +0900 | 1 line More strict test. Consider the case sys.executable itself is symlink. ........ r66835 | hirokazu.yamamoto | 2008-10-08 03:10:47 +0900 | 1 line more intensive test on dbm. ........ r66862 | hirokazu.yamamoto | 2008-10-09 19:00:30 +0900 | 3 lines On windows, os.chdir given unicode was not working if GetCurrentDirectoryW returned a path longer than MAX_PATH. (But It's doubtful this code path is really executed because I cannot move to such directory on win2k) ........ r66863 | hirokazu.yamamoto | 2008-10-09 19:11:21 +0900 | 1 line r66862 contained memory leak. ........
* backport of 64096Benjamin Peterson2008-06-101-1/+1
|
* check for toolbox glue before testing platform.mac_ver intenslyBenjamin Peterson2008-05-211-1/+8
|
* fix test_platform (os was not imported)Benjamin Peterson2008-05-181-0/+1
|
* - Add unittests for platform.mac_ver (or rather, ensure that the unittest forRonald Oussoren2008-05-181-6/+23
| | | | | | | that function actually tests something on OSX). - Add documentation to platform.mac_ver that explains why the middle element of the return value will not contain useful information.
* make test_platform a bit more assertive (We'll see what the buildbots say.)Benjamin Peterson2008-05-161-4/+15
|
* Fix test_platform on cygwin. When running from build area, sys.executableAnthony Baxter2006-04-041-1/+6
| | | | | is 'python'. But 'python' is actually a directory, 'python.exe' is the executable.
* Add a rudimentary test for the platform module that at least calls eachWalter Dörwald2005-11-211-0/+74
documented function once.