modernize icon indicating copy to clipboard operation
modernize copied to clipboard

wrong handling of multiple unicode literals when --six-unicode is used

Open daira opened this issue 11 years ago • 1 comments

If one has:

    foo(u'.........'
        u'.........')

it gets converted to:

    foo(six.u('........')
        six.u('........'))

that obviously does not work, better would be:

    foo(six.u('.........'
              '.........'))

(moved from https://github.com/mitsuhiko/python-modernize/issues/9 opened by @ThomasWaldmann)

daira avatar Aug 13 '14 00:08 daira

The test looks correct now (i.e. it fails for the right reason).

daira avatar May 27 '15 11:05 daira