Skip to content

Commit adcacdd

Browse files
committed
Update test_sys per review
1 parent b4ef16b commit adcacdd

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

Lib/test/test_sys.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1897,8 +1897,7 @@ def test_pythontypes(self):
18971897
check = self.check_sizeof
18981898
# _ast.AST
18991899
import _ast
1900-
with self.assertWarns(DeprecationWarning):
1901-
check(_ast.AST(), size('P'))
1900+
check(_ast.Module(), size('3P'))
19021901
try:
19031902
raise TypeError
19041903
except TypeError as e:

0 commit comments

Comments
 (0)