Content-Length: 294405 | pFad | https://github.com/python/cpython/pull/116032

45 [3.12] gh-115961: Improve tests for compressed file-like objects (GH-115963) by miss-islington · Pull Request #116032 · python/cpython · GitHub
Skip to content

[3.12] gh-115961: Improve tests for compressed file-like objects (GH-115963)#116032

Merged
serhiy-storchaka merged 1 commit intopython:3.12from
miss-islington:backport-e72576c-3.12
Feb 28, 2024
Merged

[3.12] gh-115961: Improve tests for compressed file-like objects (GH-115963)#116032
serhiy-storchaka merged 1 commit intopython:3.12from
miss-islington:backport-e72576c-3.12

Conversation

@miss-islington
Copy link
Copy Markdown
Contributor

@miss-islington miss-islington commented Feb 28, 2024

  • Increase coverage for compressed file-like objects initialized with a
    file name, an open file object, a file object opened by file
    descriptor, and a file-like object without name and mode attributes
    (io.BytesIO)
  • Increase coverage for name, fileno(), mode, readable(), writable(),
    seekable() in different modes and states
  • No longer skip tests with bytes names
  • Test objects implementing the path protocol, not just pathlib.Path.
    (cherry picked from commit e72576c)

Co-authored-by: Serhiy Storchaka storchaka@gmail.com

…onGH-115963)

* Increase coverage for compressed file-like objects initialized with a
  file name, an open file object, a file object opened by file
  descriptor, and a file-like object without name and mode attributes
  (io.BytesIO)
* Increase coverage for name, fileno(), mode, readable(), writable(),
  seekable() in different modes and states
* No longer skip tests with bytes names
* Test objects implementing the path protocol, not just pathlib.Path.
(cherry picked from commit e72576c)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

skip news tests Tests in the Lib/test dir

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants









ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: https://github.com/python/cpython/pull/116032

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy