PyNose icon indicating copy to clipboard operation
PyNose copied to clipboard

False positive: duplicate assertion

Open SmirnovOleg opened this issue 3 years ago • 1 comments

Project: pip File link: https://github.com/pypa/pip/blob/12dad051804907fae1b2232fba3d218035881a60/tests/unit/test_req.py#L494

image

@OlesiaSub Do we need to check that there was a reassignment of the variable between duplicate assertions to avoid such FPs?

SmirnovOleg avatar Feb 03 '22 08:02 SmirnovOleg

yes, I think we even discussed it a while ago. and I guess I could implement it.

OlesiaSub avatar Feb 05 '22 17:02 OlesiaSub