mirror of
https://github.com/python/cpython.git
synced 2025-12-04 00:30:19 +00:00
adjust for change in AST type
This commit is contained in:
parent
518cf94ad7
commit
f28fcff17d
1 changed files with 1 additions and 1 deletions
|
|
@ -882,7 +882,7 @@ class SizeofTest(unittest.TestCase):
|
|||
check = self.check_sizeof
|
||||
# _ast.AST
|
||||
import _ast
|
||||
check(_ast.AST(), size(h + ''))
|
||||
check(_ast.AST(), size(h + 'P'))
|
||||
# imp.NullImporter
|
||||
import imp
|
||||
check(imp.NullImporter(self.file.name), size(h + ''))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue