`TestCase.assertThrows` not to require an exception instance