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

PyCQA / astroid / 1695
91%
main: 92%

Build:
Build:
LAST BUILD BRANCH: regex-brain
DEFAULT BRANCH: main
Ran 06 Mar 2020 09:56AM UTC
Jobs 5
Files 72
Run time 3min
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

pending completion
1695

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.

7592 of 8377 relevant lines covered (90.63%)

4.47 hits per line

Jobs
ID Job ID Ran Files Coverage
3 1695.3 (TOXENV=py35) 06 Mar 2020 09:57AM UTC 0
88.32
Travis Job 1695.3
4 1695.4 (TOXENV=pypy) 06 Mar 2020 09:58AM UTC 0
88.85
Travis Job 1695.4
5 1695.5 (TOXENV=py36) 06 Mar 2020 09:56AM UTC 0
89.63
Travis Job 1695.5
6 1695.6 (TOXENV=py37) 06 Mar 2020 09:57AM UTC 0
89.72
Travis Job 1695.6
7 1695.7 (TOXENV=py38) 06 Mar 2020 09:58AM UTC 0
90.0
Travis Job 1695.7
Source Files on build 1695
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #1695
  • 17a5ee68 on github
  • Prev Build on master (#1694)
  • Next Build on master (#1696)
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

© 2025 Coveralls, Inc