Nothing Special   »   [go: up one dir, main page]

[Python-Dev] platform module testing

Steve Holden steve at holdenweb.com
Sat May 17 17:15:26 CEST 2008


Christian Heimes wrote:
> Benjamin Peterson schrieb:
>> At the moment, the test for the platform module merely calls each
>> function. I realize that this is a hard module to test well, but are
>> there some assumptions we can make? For example, if sys.platform is
>> 'java', can it be assumed that java_ver is going to return something
>> which is not empty. When sys.platform is 'darwin' and the gestalt
>> module is present, is it reasonable to require that a empty tuple not
>> be returned?
> 
> A student has created a patch during the GHOP contest which adds some
> features and tests for Linux. AFAIK the patch hasn't been applied yet.
> See http://bugs.python.org/issue1322
> 
Contributor agreement?

regards
  Steve
-- 
Steve Holden        +1 571 484 6266   +1 800 494 3119
Holden Web LLC              http://www.holdenweb.com/



More information about the Python-Dev mailing list