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

msiemens / tinydb / 227
98%

Build:
DEFAULT BRANCH: master
Ran 15 May 2015 06:05AM UTC
Jobs 7
Files 9
Run time 2min
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
227

Pull #54

travis-ci

rainwoodman
If there is no modified data, do not write.

This avoids an exception:

    Exception ValueError: 'I/O operation on closed file' in <bound method CachingMiddleware.__del__ of  <tinydb.middlewares.CachingMiddleware object at 0x7f9c96610a90>> ignored

The case happens when the objects has been closed and __del__ is invoked. Since the semantics guarantees
no writes after close, avoid storage.write when there are no changes in flush seems to be a reasonable fix.
Pull Request #54: If there is no modified data, do not write.

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

529 of 530 relevant lines covered (99.81%)

6.98 hits per line

Jobs
ID Job ID Ran Files Coverage
1 227.1 15 May 2015 06:05AM UTC 0
99.62
Travis Job 227.1
2 227.2 15 May 2015 06:06AM UTC 0
99.81
Travis Job 227.2
3 227.3 15 May 2015 06:05AM UTC 0
99.81
Travis Job 227.3
4 227.4 15 May 2015 06:06AM UTC 0
99.81
Travis Job 227.4
5 227.5 15 May 2015 06:05AM UTC 0
99.81
Travis Job 227.5
6 227.6 15 May 2015 06:07AM UTC 0
99.81
Travis Job 227.6
7 227.7 15 May 2015 06:06AM UTC 0
99.81
Travis Job 227.7
Source Files on build 227
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #227
  • Pull Request #54
  • PR Base - master (#226)
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