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

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

Build:
Build:
LAST BUILD BRANCH: regex-brain
DEFAULT BRANCH: main
Ran 06 Mar 2020 09:58AM UTC
Files 72
Run time 1min
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: 88.847% (-0.006%) from 88.853%
TOXENV=pypy

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.

7480 of 8419 relevant lines covered (88.85%)

0.89 hits per line

Source Files on job 1695.4 (TOXENV=pypy)
  • 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.4
  • 17a5ee68 on github
  • Prev Job for TOXENV=pypy on master (#1694.4)
  • Next Job for TOXENV=pypy on master (#1696.4)
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