Ran
|
Files
71
|
Run time
550min
|
Badge
Embed ▾
README BADGES
|
push
travis-ci
<a href="https://github.com/PyCQA/astroid/commit/<a class=hub.com/PyCQA/astroid/commit/631539e8ca8cbdb73b1c8655214de10bdd51e466">631539e8c<a href="https://github.com/PyCQA/astroid/commit/631539e8ca8cbdb73b1c8655214de10bdd51e466">">Use the parent of the node when inferring aug assign nodes instead of the statement In </a><a class="double-link" href="https://github.com/PyCQA/astroid/commit/<a class="double-link" href="https://github.com/PyCQA/astroid/commit/19b5af02304e3339fdd2a26cfafc337960eeebce">19b5af023</a>">19b5af023</a><a href="https://github.com/PyCQA/astroid/commit/631539e8ca8cbdb73b1c8655214de10bdd51e466"> we added a check for `AugAssign` nodes when inferring `Assign` values. Unfortunately the `infer_assign` function was also used by `infer_assignname`, which meant that when trying to infer an `AssignName` node, we were inferring its value as the result of the `AugAssign` inference, leading to spurious false positives. Close PyCQA/pylint#2911 Close PyCQA/pylint#3214
7394 of 8382 relevant lines covered (88.21%)
0.88 hits per line
Coverage | ∆ | File | Lines | Relevant | Covered | Missed | Hits/Line |
---|