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

HazyResearch / fonduer / 2425 / 1
86%
master: 86%

Build:
Build:
LAST BUILD BRANCH:
DEFAULT BRANCH: master
Ran 02 Apr 2020 07:24AM UTC
Files 88
Run time 11s
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

02 Apr 2020 07:06AM UTC coverage: 85.788%. Remained the same
2425.1

push

travis-ci

lukehsiao
fix(visualizer): with with protections for wand objects

The wand documentation suggest to wrap the Color and Drawing objects in
a `with` block for more explicit resource management [1] [2].

To quote [1]:
> Unlike any other objects in Wand, its resource management can be
> implicit when it used outside of with block. In these case, its
> resource are allocated for every operation which requires a resource
> and destroyed immediately. Of course it is inefficient when the
> operations are much, so to avoid it, you should use color objects
> inside of with block explicitly

The example code for using Drawing() also uses the with block.

Note that we do NOT wrap the Image() object in a with block because that
must not be freed in visualizer.py.

[1]: http://docs.wand-py.org/en/0.5.9/wand/color.html
[2]: http://docs.wand-py.org/en/0.5.9/guide/draw.html

3809 of 4440 relevant lines covered (85.79%)

0.86 hits per line

Source Files on job 2425.1
  • Tree
  • List 0
  • Changed 1
  • Source Changed 1
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 1362
  • Travis Job 2425.1
  • 54f31604 on github
  • Prev Job for on emmental-5 (#2422.1)
  • Next Job for on emmental-5 (#561ebf1c6831d47b136e3ae2748dfece9cc64c5b.8)
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