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

torchbox / wagtail / 2629
38%
master: 96%

Build:
Build:
LAST BUILD BRANCH: stable/1.8.x
DEFAULT BRANCH: master
Ran 13 Feb 2015 07:08PM UTC
Jobs 5
Files 266
Run time 2min
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
2629

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.

5 of 5 new or added lines in 1 file covered. (100.0%)

12526 of 13483 relevant lines covered (92.9%)

4.64 hits per line

Jobs
ID Job ID Ran Files Coverage
1 2629.1 (TOXENV=py27-dj17-postgres) 13 Feb 2015 07:09PM UTC 0
92.87
Travis Job 2629.1
2 2629.2 (TOXENV=py27-dj17-sqlite) 13 Feb 2015 07:10PM UTC 0
92.86
Travis Job 2629.2
3 2629.3 (TOXENV=py33-dj17-postgres) 13 Feb 2015 07:09PM UTC 0
92.87
Travis Job 2629.3
4 2629.4 (TOXENV=py34-dj17-postgres) 13 Feb 2015 07:09PM UTC 0
92.87
Travis Job 2629.4
5 2629.5 (TOXENV=py34-dj17-sqlite) 13 Feb 2015 07:08PM UTC 0
92.87
Travis Job 2629.5
Source Files on build 2629
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #2629
  • f5bed5de on github
  • Prev Build on feature/streamfield (#2628)
  • Next Build on feature/streamfield (#2630)
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