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

johnyf / astutils / 9 / 2
91%
master: 91%

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

13 Aug 2017 02:23AM UTC coverage: 88.496% (-0.7%) from 89.189%
9.2

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>

100 of 113 relevant lines covered (88.5%)

0.88 hits per line

Source Files on job 9.2
  • Tree
  • List 0
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 9
  • Travis Job 9.2
  • fc359e75 on github
  • Prev Job for on dev (#8.2)
  • Next Job for on dev (#10.4)
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