Greetings folks,

I'm finishing up some work for Chris Lumens to add unittests into
pykickstart.  I'm trying to reduce the expected noise of some tests and
would like to capture or suppress any warnings displayed.  

Chris directed me to
http://docs.python.org/library/warnings.html#temporarily-suppressing-warnings, 
which most likely works.  But I'm looking for something a bit more backwards 
compatible (that doesn't use the new with: syntax).

Any suggestions or experiences to share?

Thanks,
James

-- 
==========================================
 James Laska         -- [email protected]
 Quality Engineering -- Red Hat, Inc.
==========================================

Attachment: signature.asc
Description: This is a digitally signed message part

_______________________________________________
Fedora-python-devel-list mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/fedora-python-devel-list

Reply via email to