mirror of
https://github.com/python/cpython.git
synced 2025-07-24 11:44:31 +00:00
bpo-44821: Eagerly assign __dict__ for new objects. (GH-27589)
This commit is contained in:
parent
c83919bd63
commit
cee67fa661
6 changed files with 49 additions and 8 deletions
|
@ -566,7 +566,7 @@ id(foo)''')
|
|||
# http://bugs.python.org/issue8032#msg100537 )
|
||||
gdb_repr, gdb_output = self.get_gdb_repr('id(__builtins__.help)', import_site=True)
|
||||
|
||||
m = re.match(r'<_Helper at remote 0x-?[0-9a-f]+>', gdb_repr)
|
||||
m = re.match(r'<_Helper\(\) at remote 0x-?[0-9a-f]+>', gdb_repr)
|
||||
self.assertTrue(m,
|
||||
msg='Unexpected rendering %r' % gdb_repr)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue