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

PyCQA / astroid / 1642
91%
main: 92%

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

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

6 of 6 new or added lines in 2 files covered. (100.0%)

7556 of 8381 relevant lines covered (90.16%)

3.57 hits per line

Jobs
ID Job ID Ran Files Coverage
3 1642.3 (TOXENV=py35) 05 Jan 2020 10:43AM UTC 0
88.21
Travis Job 1642.3
4 1642.4 (TOXENV=pypy) 05 Jan 2020 10:45AM UTC 0
Travis Job 1642.4
5 1642.5 (TOXENV=py36) 05 Jan 2020 10:44AM UTC 0
89.54
Travis Job 1642.5
6 1642.6 (TOXENV=py37) 05 Jan 2020 10:44AM UTC 0
89.63
Travis Job 1642.6
7 1642.7 (TOXENV=py38) 05 Jan 2020 10:45AM UTC 0
89.9
Travis Job 1642.7
Source Files on build 1642
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #1642
  • 59f0be79 on github
  • Prev Build on master (#1637)
  • Next Build on master (#1643)
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