Skip to content

[Python] LGTM.com - false positive #5777

@ptmerz

Description

@ptmerz

Description of the false positive

This is a test comparing two objects. The two objects are created to have identical content, which is asserted. Then, one object is changed, and it is asserted that they are different now. LGTM thinks that they should still be equivalent. The test passes, which proves LGTM wrong :)

URL to the alert on the project page on LGTM.com

https://lgtm.com/projects/g/shirtsgroup/physical_validation/snapshot/1ab30ac2bfa1a86a40ee461d23624b92594c9307/files/physical_validation/tests/test_data_simulation_data.py?sort=name&dir=ASC&mode=heatmap#xd52d8129570232b3:1

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions