File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -57,7 +57,7 @@ def test_bootstrap_modules():
5757
5858
5959def test_stdlib_modules ():
60- "All the stdlib modules exist"
60+ "All the stdlib binary modules exist"
6161 missing = []
6262 all_modules = [
6363 "_asyncio" ,
@@ -95,9 +95,6 @@ def test_stdlib_modules():
9595 "syslog" ,
9696 "termios" ,
9797 "unicodedata" ,
98- # Scheduled for deprecation
99- "_crypt" ,
100- "audioop" ,
10198 ]
10299
103100 # Modules added in 3.8
@@ -107,6 +104,15 @@ def test_stdlib_modules():
107104 if sys .version_info >= (3 , 11 ):
108105 all_modules .extend (["_typing" ])
109106
107+ # Modules removed in 3.13
108+ if sys .version_info < (3 , 13 ):
109+ all_modules .extend (
110+ [
111+ "_crypt" ,
112+ "audioop" ,
113+ ]
114+ )
115+
110116 # Modules that do not exist on Android
111117 if hasattr (sys , "getandroidapilevel" ):
112118 all_modules .remove ("grp" )
You can’t perform that action at this time.
0 commit comments