Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Merged revisions 83075 via svnmerge from | Ronald Oussoren | 2010-07-23 | 1 | -0/+19 |
| | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r83075 | ronald.oussoren | 2010-07-23 12:54:59 +0100 (Fri, 23 Jul 2010) | 5 lines Fix for issue 7895. Avoid crashing the interpreter when calling platform.mac_ver after calling os.fork by reading from a system configuration file instead of using OSX APIs. ........ | ||||
* | Issue #7860: platform.uname now reports the correct 'machine' type | R. David Murray | 2010-03-22 | 1 | -0/+21 |
| | | | | | when Python is running in WOW64 mode on 64 bit Windows. Patch by Brian Curtin. | ||||
* | Fix more unbound locals in code paths that do not seem to be used. | Georg Brandl | 2010-02-06 | 1 | -2/+4 |
| | |||||
* | fix an UnboundLocalError when the release file is empty #7773 | Benjamin Peterson | 2010-01-25 | 1 | -0/+1 |
| | |||||
* | test_platform fails on OS X Snow Leopard because the UNIX command to get the | Brett Cannon | 2009-09-03 | 1 | -1/+7 |
| | | | | | | | | canonical version, sw_vers, leaves off trailing zeros in the version number (e.g. 10.6 instead of 10.6.0). Test now compensates by tacking on extra zeros for the test comparison. Fixes issue #6806. | ||||
* | convert usage of fail* to assert* | Benjamin Peterson | 2009-06-30 | 1 | -3/+3 |
| | |||||
* | add support for PyPy | Benjamin Peterson | 2009-03-26 | 1 | -0/+5 |
| | |||||
* | roll old test in with new one | Benjamin Peterson | 2009-03-26 | 1 | -18/+17 |
| | |||||
* | more and more implementations now support sys.subversion | Benjamin Peterson | 2009-03-26 | 1 | -3/+3 |
| | |||||
* | add much better tests for python version information parsing | Benjamin Peterson | 2009-03-26 | 1 | -19/+46 |
| | |||||
* | Remove the sys.version_info shortcut, since they cause the APIs | Marc-André Lemburg | 2009-03-25 | 1 | -20/+29 |
| | | | | | | | | | 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. | ||||
* | #4157 move two test functions out of platform.py. | Amaury Forgeot d'Arc | 2008-10-21 | 1 | -0/+34 |
| | | | | | | Turn them into unit tests, and correct an obvious typo: (("a", "b") ("c", "d") ("e", "f")) compiles even with the missing commas, but does not execute very well... | ||||
* | More strict test. Consider the case sys.executable itself is symlink. | Hirokazu Yamamoto | 2008-10-06 | 1 | -4/+5 |
| | |||||
* | Added the test for issue3762. | Hirokazu Yamamoto | 2008-10-06 | 1 | -0/+15 |
| | |||||
* | backport of 64096 | Benjamin Peterson | 2008-06-10 | 1 | -1/+1 |
| | |||||
* | check for toolbox glue before testing platform.mac_ver intensly | Benjamin Peterson | 2008-05-21 | 1 | -1/+8 |
| | |||||
* | fix test_platform (os was not imported) | Benjamin Peterson | 2008-05-18 | 1 | -0/+1 |
| | |||||
* | - Add unittests for platform.mac_ver (or rather, ensure that the unittest for | Ronald Oussoren | 2008-05-18 | 1 | -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 Peterson | 2008-05-16 | 1 | -4/+15 |
| | |||||
* | Fix test_platform on cygwin. When running from build area, sys.executable | Anthony Baxter | 2006-04-04 | 1 | -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 each | Walter Dörwald | 2005-11-21 | 1 | -0/+74 |
documented function once. |