FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

[3.11] gh-115961: Improve tests for compressed file-like objects (GH-115963) by serhiy-storchaka · Pull Request #116039 · python/cpython · GitHub

/ cpython Public

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

Merged
serhiy-storchaka merged 1 commit into
python:3.11from
serhiy-storchaka:backport-e72576c-3.11
Feb 28, 2024
Merged

[3.11] gh-115961: Improve tests for compressed file-like objects (GH-115963)#116039
serhiy-storchaka merged 1 commit into
python:3.11from
serhiy-storchaka:backport-e72576c-3.11

Conversation

serhiy-storchaka commented Feb 28, 2024
edited by bedevere-app Bot
Loading

Copy link
Copy Markdown
Member
  • 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)

pythonGH-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>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
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.

1 participant


Back | FazBrowse Home | New Git URL