JetBrains-Research/PyNose

Duplicate assertion used by with

Closed this issue · 2 comments

In cases like this duplicate assertion is detected and removed incorrectly.

with self.assertRaises(ValueError):
    x = 3
with self.assertRaises(ValueError):
    x = 4

leads to this:

with:
    x = 4

@OlesiaSub have you fixed it?

@SmirnovOleg I did. sorry, forgot to link it to pr-fixes pull request