This use is pointless here (+possibly a bit misleading?), as it is anyway trapping the warnings + checking that exactly one was issued.
Possibly you could check the one issued is the one expected (test against TranslationWarning) ?