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

thorgate / pyasice / 44
86%
main: 83%

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

pending completion
44

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

Jobs
ID Job ID Ran Files Coverage
3 44.3 21 Nov 2020 06:49PM UTC 0
86.4
Travis Job 44.3
Source Files on build 44
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #44
  • d1765060 on github
  • Prev Build on fix-zipfile (#45)
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