[Python] LGTM.com - false positive
Ouverte
false-positive
not security
Python
- Langage dominant
- CodeQL
- Étoiles
- 10.1k
- Forks
- 2.1k
- Merge moyen
- 2 j 15 h
- PR mergées (30 j)
- 141
Description
**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
Guide de contribution
Ouvrir le guide de contribution
Évaluation
Cette issue n'a pas encore été évaluée.