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

abadger / pubmarine / 13 / 3
100%
master: 100%

Build:
DEFAULT BRANCH: master
Ran 17 Jan 2017 06:12AM UTC
Files 1
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

17 Jan 2017 06:08AM UTC coverage: 100.0%. Remained the same
13.3

push

travis-ci

abadger
Make event_handlers into a dict of dicts

When we added the subscription id to allow for unsubscription we left
this data structure as a dict of sets.  However, there are really two
key values.  The first key remains the event.  The second key is the
subscription id.  A dict of dicts allows us to represent both of these
smoothly instead of having to iterate through a set of (sub_id, handler)
tuples.

This change also fixes a problem where events were not always removed
when a callback was deallocated.  (Callbacks can be deallocated outside
of our code because we hold a weakref to them so as not to leak memory)

62 of 62 relevant lines covered (100.0%)

1.0 hits per line

Source Files on job 13.3
  • Tree
  • List 0
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 13
  • Travis Job 13.3
  • ebbf3a88 on github
  • Prev Job for on master (#12.2)
  • Next Job for on master (#14.1)
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