dbx-unittest2pytest icon indicating copy to clipboard operation
dbx-unittest2pytest copied to clipboard

Inline comments unsupported

Open nipunn1313 opened this issue 9 years ago • 0 comments

Code like this:

self.assertEqual(
    # Comment about a
    a,
    # Comment about b
    b,
)

Currently chokes the fixer parser, so we choose to skip them.

If we didn't skip them, it would convert to this unparseable code

assert \
    # Comment about a
    a \
    # Comment about b
    b

nipunn1313 avatar Feb 02 '16 00:02 nipunn1313