Amaury Forgeot d'Arc
fbc0b0ca29
#4157 move two test functions out of platform.py.
...
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...
2008-10-21 22:01:38 +00:00
Hirokazu Yamamoto
18c4e8734c
More strict test. Consider the case sys.executable itself is symlink.
2008-10-06 02:41:59 +00:00
Hirokazu Yamamoto
6e5e50104c
Added the test for issue3762.
2008-10-06 01:57:03 +00:00
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