File tree Expand file tree Collapse file tree 1 file changed +10
-4
lines changed Expand file tree Collapse file tree 1 file changed +10
-4
lines changed Original file line number Diff line number Diff line change @@ -57,7 +57,7 @@ def test_bootstrap_modules():
57
57
58
58
59
59
def test_stdlib_modules ():
60
- "All the stdlib modules exist"
60
+ "All the stdlib binary modules exist"
61
61
missing = []
62
62
all_modules = [
63
63
"_asyncio" ,
@@ -95,9 +95,6 @@ def test_stdlib_modules():
95
95
"syslog" ,
96
96
"termios" ,
97
97
"unicodedata" ,
98
- # Scheduled for deprecation
99
- "_crypt" ,
100
- "audioop" ,
101
98
]
102
99
103
100
# Modules added in 3.8
@@ -107,6 +104,15 @@ def test_stdlib_modules():
107
104
if sys .version_info >= (3 , 11 ):
108
105
all_modules .extend (["_typing" ])
109
106
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
+
110
116
# Modules that do not exist on Android
111
117
if hasattr (sys , "getandroidapilevel" ):
112
118
all_modules .remove ("grp" )
You can’t perform that action at this time.
0 commit comments