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

torchbox / wagtail / 2629 / 3
38%
master: 96%

Build:
Build:
LAST BUILD BRANCH: stable/1.8.x
DEFAULT BRANCH: master
Ran 13 Feb 2015 07:09PM UTC
Files 266
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

13 Feb 2015 07:08PM UTC coverage: 92.873%. First build
TOXENV=py33-dj17-postgres

push

travis-ci

Matt Westcott
Avoid placing Block instances into a set(), as this requires them to be hashable.

Defining Block.__eq__ in 047ff734c causes the default __hash__ implementation to be nullified on Python 3. Since it's non-trivial to define a replacement __hash__ method that's consistent with our __eq__ behaviour (it depends on the equality of lists / dicts, which are themselves unhashable), it's more correct to explicitly define Block as unhashable, bringing the Python 2 behaviour in line with Python 3.

The one place where we currently depend on Block being hashable is in constructing the 'dependencies' set for nested blocks. Since we don't actually need the de-duplicating behaviour of set(), we can replace this with a plain list with no ill effects.

12522 of 13483 relevant lines covered (92.87%)

0.93 hits per line

Source Files on job 2629.3 (TOXENV=py33-dj17-postgres)
  • Tree
  • List 0
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 2629
  • Travis Job 2629.3
  • f5bed5de on github
  • Next Job for TOXENV=py33-dj17-postgres on feature/streamfield (#2630.3)
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