Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit8004b3d

Browse files
committed
Merge remote-tracking branch 'upstream/main' into patch/curses-checks-125843
2 parents12d8805 +46d7c11 commit8004b3d

File tree

2 files changed

+12
-0
lines changed

2 files changed

+12
-0
lines changed

‎Lib/test/pythoninfo.py

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -658,6 +658,16 @@ def collect_zlib(info_add):
658658
copy_attributes(info_add,zlib,'zlib.%s',attributes)
659659

660660

661+
defcollect_zstd(info_add):
662+
try:
663+
import_zstd
664+
exceptImportError:
665+
return
666+
667+
attributes= ('zstd_version',)
668+
copy_attributes(info_add,_zstd,'zstd.%s',attributes)
669+
670+
661671
defcollect_expat(info_add):
662672
try:
663673
fromxml.parsersimportexpat
@@ -1051,6 +1061,7 @@ def collect_info(info):
10511061
collect_tkinter,
10521062
collect_windows,
10531063
collect_zlib,
1064+
collect_zstd,
10541065
collect_libregrtest_utils,
10551066

10561067
# Collecting from tests should be last as they have side effects.
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Add:mod:`!compression.zstd` version information to ``test.pythoninfo``.

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp