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

thorgate / pyasice / 44 / 3
86%
main: 83%

Build:
Build:
LAST BUILD BRANCH: v1.2.0
DEFAULT BRANCH: main
Ran 21 Nov 2020 06:49PM UTC
Files 8
Run time 1s
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

21 Nov 2020 06:27PM UTC coverage: 86.404%. Remained the same
44.3

push

travis-ci

ykshatroff
* Fixed an issue with `Container` and `ZipFile` in Python pre-3.8.

  When the name of a file added to container contained a non-ASCII character,
  a consequent `read()` of this file failed with an error:
  ```
  zipfile.BadZipFile: File name in directory 'FILE' and header b'FILE' differ.
  ```
  After closing the ZipFile, reading files was OK.

  As a solution, now the container is opened in read-only mode and all write operations
  are performed after closing the read-only zipfile, opening it in append mode and
  closing it again.

* Added a public property `zip_file` to the `Container` instance which uses a cached
  read only zip file handle, opening it if necessary.

* Added a public property `zip_writer` to the `Container` instance which opens
  an appendable zip file handle, clearing the `zip_file` cache.

* Merged the `verify_container` and `_verify_container_contents` methods
  because the latter made little sense on its own as a private method.

* Replaced `_add_mimetype()` with `_create_container()` which creates and initializes
  the buffer in one single place.

137 of 176 branches covered (77.84%)

Branch coverage included in aggregate %.

632 of 714 relevant lines covered (88.52%)

0.89 hits per line

Source Files on job 44.3
  • Tree
  • List 0
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Build 30
  • Travis Job 44.3
  • d1765060 on github
  • Prev Job for on fix-zipfile (#45.3)
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