Subject: | t/01-basic.t prone to failure on spurious warnings |
Please see https://travis-ci.org/ribasushi/dbix-class/jobs/122750637#L2454-L2461
Given you are after a specific warning (... redefined ...) I recommend ditching Test::Warnings and using a specifically tailored $SIG{__WARN__} hook.