Hide warnings - fixes 317

Fixes #317.
A downside of this, I suppose, is that trial is not the only test runner.  It is definitely the only test runner I care about though so I don't think we need to do anything about this.  Hopefully this code won't be here for long, anyway.