Re: [Python-Dev] platform module testing

2008-05-17 Thread Georg Brandl
Steve Holden schrieb: 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 a

Re: [Python-Dev] platform module testing

2008-05-17 Thread Steve Holden
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

Re: [Python-Dev] platform module testing

2008-05-16 Thread M.-A. Lemburg
On 2008-05-15 23:54, Benjamin Peterson wrote: 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

Re: [Python-Dev] platform module testing

2008-05-15 Thread Christian Heimes
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 so

Re: [Python-Dev] platform module testing

2008-05-15 Thread Brett Cannon
On Thu, May 15, 2008 at 2:54 PM, Benjamin Peterson <[EMAIL PROTECTED]> wrote: > 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', ca

[Python-Dev] platform module testing

2008-05-15 Thread Benjamin Peterson
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 sy