Skip to content

gh-155358: Add test.support.check_immutable_type() - #155510

Merged
vstinner merged 1 commit into
python:mainfrom
vstinner:check_immutable
Aug 10, 2026
Merged

gh-155358: Add test.support.check_immutable_type()#155510
vstinner merged 1 commit into
python:mainfrom
vstinner:check_immutable

Conversation

@vstinner

@vstinner vstinner commented Aug 10, 2026

Copy link
Copy Markdown
Member

Check that sys types are immutable:

  • type(sys.flags)
  • type(sys.get_asyncgen_hooks())
  • type(sys.getwindowsversion())
  • type(sys.hash_info)
  • type(sys.version_info)

Check that sys types are immutable:

* type(sys.flags)
* type(sys.get_asyncgen_hooks())
* type(sys.getwindowsversion())
* type(sys.hash_info)
* type(sys.version_info)
@vstinner
vstinner requested a review from rhettinger as a code owner August 10, 2026 18:36
@vstinner vstinner added tests Tests in the Lib/test dir skip news labels Aug 10, 2026
@vstinner
vstinner merged commit 219768f into python:main Aug 10, 2026
54 checks passed
@vstinner
vstinner deleted the check_immutable branch August 10, 2026 19:44
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