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

johnyf / astutils / 9
91%
master: 91%

Build:
Build:
LAST BUILD BRANCH: v0.0.4
DEFAULT BRANCH: master
Ran 13 Aug 2017 02:24AM UTC
Jobs 2
Files 8
Run time 10s
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
9

push

travis-ci

johnyf
<a href="https://github.com/johnyf/astutils/commit/fc359e75e">BUG: define method `Terminal.__hash__`

otherwise Python 3 makes `Terminal` unhashable, because the method
`Terminal.__eq__` is present [1]. The class `Operator` does not
define a method `__eq__`, so its `__hash__` defaults to `id(self)`.

Hashability of AST nodes simplifies transformation to `networkx` graphs.

This change follows [2].

[1] https://docs.python.org/3.5/reference/datamodel.html#object.__hash__
[2] https://github.com/tulip-control/tulip-control/commit/</a><a class="double-link" href="https://github.com/johnyf/astutils/commit/fb12918d6">fb12918d6</a>

200 of 226 relevant lines covered (88.5%)

0.88 hits per line

Jobs
ID Job ID Ran Files Coverage
1 9.1 13 Aug 2017 02:24AM UTC 0
88.5
Travis Job 9.1
2 9.2 13 Aug 2017 02:24AM UTC 0
88.5
Travis Job 9.2
Source Files on build 9
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #9
  • fc359e75 on github
  • Prev Build on dev (#8)
  • Next Build on dev (#10)
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