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

johnyf / dd
81%
master: 88%

Build:
Build:
LAST BUILD BRANCH: v0.5.4
DEFAULT BRANCH: master
Repo Added 10 Mar 2015 10:07AM UTC
Files 51
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

LAST BUILD ON BRANCH v0.4.0
branch: v0.4.0
CHANGE BRANCH
x
Reset
  • v0.4.0
  • abc
  • comparison
  • dev
  • dev_0.4.3
  • dev_0.5.0
  • master
  • rename
  • reordering
  • sylvan
  • test_0.4.2
  • travis
  • travis_ci
  • v0.0.2
  • v0.0.3
  • v0.0.4
  • v0.1.0
  • v0.2.0
  • v0.2.1
  • v0.2.2
  • v0.3.0
  • v0.3.1
  • v0.4.1
  • v0.4.2
  • v0.4.3
  • v0.5.0
  • v0.5.1
  • v0.5.2
  • v0.5.3
  • v0.5.4

pending completion
111

push

travis-ci

johnyf
BUG: use `list` of `tuple`s instead of `dict` for parsing renaming pairs

because `astutils.ast.Terminal` is a user-defined class,
but defines `__eq__` and not `__hash__`.
So, it is incorrect to use instances as keys.

Moreover, this is a python 2 weakness.
In python 3, it raises an exception.
The documentation of `object.__hash__` reads [1]:

"A class that overrides __eq__() and
does not define __hash__() will have its __hash__()
implicitly set to None."

[1] https://docs.python.org/3/reference/datamodel.html#object.__hash__

3072 of 3804 relevant lines covered (80.76%)

0.81 hits per line

Relevant lines Covered
Build:
Build:
3804 RELEVANT LINES 3072 COVERED LINES
0.81 HITS PER LINE
Source Files on v0.4.0
Detailed source file information is not available for this build.

Recent builds

Builds Branch Commit Type Ran Committer Via Coverage
111 v0.4.0 BUG: use `list` of `tuple`s instead of `dict` for parsing renaming pairs because `astutils.ast.Terminal` is a user-defined class, but defines `__eq__` and not `__hash__`. So, it is incorrect to use instances as keys. Moreover, this is a python 2... push 13 Jul 2016 03:45AM UTC johnyf travis-ci pending completion  
See All Builds (201)
  • Repo on GitHub
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