Duplicate assertion used by with
Closed this issue · 2 comments
OlesiaSub commented
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
SmirnovOleg commented
@OlesiaSub have you fixed it?
OlesiaSub commented
@SmirnovOleg I did. sorry, forgot to link it to pr-fixes pull request