'Check same msg for exceptions with overridden __str__ and many args'

def test_many_args_with_overridden___str__(self):

    for msg in ('foo', u'foo'):
        e = ExcWithOverriddenStr('arg1', u'arg2', u'f\xf6\xf6', msg=msg)
        self.check_same_msg(e, msg)
    e = ExcWithOverriddenStr('arg1', u'f\xf6\xf6', u'arg3', msg=u'f\xf6\xf6')
    self.assertRaises(UnicodeEncodeError, str, e)
    self.assertEqual(unicode(e), u'f\xf6\xf6')
