[Python-Dev] platform module testing

Georg Brandl g.brandl at gmx.net
Sat May 17 21:22:57 CEST 2008


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 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?

Is present, see 
<http://spreadsheets.google.com/ccc?key=pjT7wnuhdnHc76F3jaYCADw&hl=en>.

Georg

-- 
Thus spake the Lord: Thou shalt indent with four spaces. No more, no less.
Four shall be the number of spaces thou shalt indent, and the number of thy
indenting shall be four. Eight shalt thou not indent, nor either indent thou
two, excepting that thou then proceed to four. Tabs are right out.



More information about the Python-Dev mailing list