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

micropython / micropython / 13426 / 5
98%
master: 98%

Build:
DEFAULT BRANCH: master
Ran 02 May 2020 06:46AM UTC
Files 274
Run time 19s
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 May 2020 06:08AM UTC coverage: 98.005% (+0.001%) from 98.004%
MAKEOPTS="-j4" NAME="unix coverage build and tests"

push

travis-ci-com

dpgeorge
extmod/modbtree: Retain reference to underlying stream so it's not GC'd.

For ports that have a system malloc which is not garbage collected (eg
unix, esp32), the stream object for the DB must be retained separately to
prevent it from being reclaimed by the MicroPython GC (because the
berkeley-db library uses malloc to allocate the DB structure which stores
the only reference to the stream).

Although in some cases the user code will explicitly retain a reference to
the underlying stream because it needs to call close() on it, this is not
always the case, eg in cases where the DB is intended to live forever.

Fixes issue #5940.

19404 of 19799 relevant lines covered (98.0%)

423842.91 hits per line

Source Files on job 13426.5 (MAKEOPTS="-j4" NAME="unix coverage build and tests")
  • Tree
  • List 0
  • Changed 80
  • Source Changed 1
  • Coverage Changed 80
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 13013
  • Travis Job 13426.5
  • 73c58150 on github
  • Prev Job for MAKEOPTS="-j4" NAME="unix coverage build and tests" on master (#13419.5)
  • Next Job for MAKEOPTS="-j4" NAME="unix coverage build and tests" on master (#13429.5)
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