'Regression test for
https://github.com/spacetelescope/PyFITS/issues/1
So long as a unicode string can be converted to ASCII it should have no
different behavior in this regard from a byte string.'

def test_long_unicode_string(self):

    h1 = fits.Header()
    h1['TEST'] = ('abcdefg' * 30)
    h2 = fits.Header()
    with catch_warnings() as w:
        h2['TEST'] = (u('abcdefg') * 30)
        assert (len(w) == 0)
    assert (str(h1) == str(h2))
