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

davidhalter / jedi / 2581
95%

Build:
DEFAULT BRANCH: master
Ran 02 Jul 2019 06:04AM UTC
Jobs 1
Files 67
Run time 6s
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
2581

push

travis-ci

davidhalter
Get typing.NewType working (#1344)

Squashed from the following commits:

* Update pep0484.py

(I don't think I want to know why the cursor jumped to the beginning of the line with every keystroke in GitHub's online editor. Change was entered backwards.)

* Added test for inline use of NewType. Currently assuming that wrapped instances should get the underlying type.

* Altered tests per https://github.com/davidhalter/jedi/issues/1015#issuecomment-356131566

* Add NewTypeFunction to typing evaluation module

* Update AUTHORS.txt

* Add a new test, and a speculative justification

For now, address only the second comment

* Copy code from third comment on the PR

From inspection, I *believe* I understand what this code is doing, and as such, I believe this should cause the new test I added in response to the second comment to fail, because that test is based on faulty assumptions.

* Explicitly discard the key from the tuple

* Update pep0484_typing.py

* Test for the wrapped type, not the wrapper "type"

* Change the return value from calling a NewType

8126 of 8784 relevant lines covered (92.51%)

0.93 hits per line

Jobs
ID Job ID Ran Files Coverage
26 2581.26 (TOXENV=cov JEDI_TEST_ENVIRONMENT=36) 02 Jul 2019 06:04AM UTC 0
92.51
Travis Job 2581.26
Source Files on build 2581
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #2581
  • 925fc894 on github
  • Prev Build on master (#2580)
  • Next Build on master (#2582)
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