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

micropython / micropython / 13426
98%

Build:
DEFAULT BRANCH: master
Ran 02 May 2020 06:46AM UTC
Jobs 1
Files 274
Run time 21s
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
13426

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.

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

19404 of 19799 relevant lines covered (98.0%)

423842.91 hits per line

Jobs
ID Job ID Ran Files Coverage
5 13426.5 (MAKEOPTS="-j4" NAME="unix coverage build and tests") 02 May 2020 06:46AM UTC 0
98.0
Travis Job 13426.5
Source Files on build 13426
Detailed source file information is not available for this build.
  • Back to Repo
  • Build #13426
  • 73c58150 on github
  • Prev Build on master (#13419)
  • Next Build on master (#13429)
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