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

PyCQA / astroid / 1642 / 7
91%
main: 92%

Build:
Build:
LAST BUILD BRANCH: regex-brain
DEFAULT BRANCH: main
Ran 05 Jan 2020 10:45AM UTC
Files 71
Run time 668min
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

05 Jan 2020 10:40AM UTC coverage: 89.901% (-0.02%) from 89.919%
TOXENV=py38

push

travis-ci

PCManticore
Add a call to register_transform for each numpy function in case the current node is an astroid.Name instance

The problem was that astroid could not infer the result of a call to `numpy.append`
because this function calls the `concatenate` function.
This last function is inferred thanks to the `brain_numpy_core_multiarray` module
but only when the corresponding node is an `astroid.Attribute` (for example numpy.concatenate). 
It turns out that in the source of the append function the node that realises the call to concatenate is a `astroid.Name`. Thus the correction proposed here is to register
the concatenate inference tip function in order to apply it, also, to `astroid.Name`.

Close #666

7638 of 8496 relevant lines covered (89.9%)

0.9 hits per line

Source Files on job 1642.7 (TOXENV=py38)
  • Tree
  • List 0
  • Changed 2
  • Source Changed 2
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 1209
  • Travis Job 1642.7
  • 59f0be79 on github
  • Prev Job for TOXENV=py38 on master (#1637.7)
  • Next Job for TOXENV=py38 on master (#1643.7)
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