test.py: remove useless dependency on logging module.