• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

PyCQA / astroid / 1695 / 5
91%
main: 92%

Build:
Build:
LAST BUILD BRANCH: regex-brain
DEFAULT BRANCH: main
Ran 06 Mar 2020 09:56AM UTC
Files 72
Run time 7s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

06 Mar 2020 09:54AM UTC coverage: 89.627% (+0.02%) from 89.611%
TOXENV=py36

push

travis-ci

PCManticore
Cache the inference of FunctionDef to prevent property inference mutating locals

When inferring a property, we instantiate a new `objects.Property` object,
which in turn, because it inherits from `FunctionDef`, sets itself in the locals
of the wrapping frame. This means that everytime we infer a property, the locals
are mutated with a new instance of the property.
Using `context` with `path_wrapper` would not have helped, because we call `inferred()`
on functions in multiple places in pylint's codebase.

7543 of 8416 relevant lines covered (89.63%)

0.9 hits per line

Source Files on job 1695.5 (TOXENV=py36)
  • Tree
  • List 0
  • Changed 1
  • Source Changed 1
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 1259
  • Travis Job 1695.5
  • 17a5ee68 on github
  • Prev Job for TOXENV=py36 on master (#1694.5)
  • Next Job for TOXENV=py36 on master (#1696.5)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc