Lib/test/test_mimetools.py

matt at console-pimps.org matt at console-pimps.org
Sat Mar 11 00:04:00 CET 2006


Hi,

in the file Lib/test/test_mimetools.py on line 30 the call to 
mimetools.choose_boundary() fails if the machine that the tests are 
running on does not have a hostname that maps to an IP address.

I would have thought that the test should be 'skipped' rather than fail?

I don't know if this has been discussed before but any feedback would be 
appreciated. 

Would any body be interested in a patch to make the test skip if 
hostname does not have an designated IP?

Thanks




More information about the Python-list mailing list