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

HazyResearch / fonduer / 2425
86%
master: 86%

Build:
Build:
LAST BUILD BRANCH:
DEFAULT BRANCH: master
Ran 02 Apr 2020 07:24AM UTC
Jobs 2
Files 88
Run time 8min
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
2425

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

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

3809 of 4440 relevant lines covered (85.79%)

1.72 hits per line

Jobs
ID Job ID Ran Files Coverage
1 2425.1 02 Apr 2020 07:24AM UTC 0
85.79
Travis Job 2425.1
2 2425.2 02 Apr 2020 07:32AM UTC 0
85.74
Travis Job 2425.2
Source Files on build 2425
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #2425
  • 54f31604 on github
  • Prev Build on emmental-5 (#2422)
  • Next Build on emmental-5 (#561EBF1C...)
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