Move the warning filter out of the module scope.
Move the warning filter out of the module scope.

Probably not a good idea to silence a warning simply because the unit
test module got imported, it does have a legitimate purpose.

marineam/nagcat,marineam/nagcat,marineam/nagcat