Show what module/function is missing when raised.

Related to comment on 98949e3b108100a40cb6ad59be78f33580439fef
Need to use six.assertRaisesRegex for Python 3 compatibility