Benjamin Peterson
31296c09ed
backport of 64096
2008-06-10 22:39:25 +00:00
Benjamin Peterson
a4e4ef1cea
check for toolbox glue before testing platform.mac_ver intensly
2008-05-21 22:52:39 +00:00
Benjamin Peterson
913c15c1c6
fix test_platform (os was not imported)
2008-05-18 22:07:42 +00:00
Ronald Oussoren
7a0f4c75b1
- Add unittests for platform.mac_ver (or rather, ensure that the unittest for
...
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.
2008-05-18 20:54:47 +00:00
Benjamin Peterson
5915a4dcfe
make test_platform a bit more assertive (We'll see what the buildbots say.)
2008-05-16 02:24:49 +00:00
Anthony Baxter
06853fc150
Fix test_platform on cygwin. When running from build area, sys.executable
...
is 'python'. But 'python' is actually a directory, 'python.exe' is the
executable.
2006-04-04 15:52:00 +00:00
Walter Dörwald
c69d1c498f
Add a rudimentary test for the platform module that at least calls each
...
documented function once.
2005-11-21 17:48:12 +00:00