'Unicode should not be treated as longer than it is.'

def test_unicode(self):

    d = {'formula': u'A=\u03c0r\xb2'}
    trunc = truncated_json_dumps(d, 25, 'formula')
    eq_(json.dumps(d, ensure_ascii=False), trunc)
