8000 fix test_pydoc · python/cpython@f9d81b6 · GitHub
[go: up one dir, main page]

Skip to content

Commit f9d81b6

Browse files
committed
fix test_pydoc
1 parent 355d3df commit f9d81b6

File tree

1 file changed

+8
-3
lines changed

1 file changed

+8
-3
lines changed

Lib/test/test_pydoc/test_pydoc.py

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,11 @@ class A(builtins.object)
7676
| __weakref__%s
7777
7878
class B(builtins.object)
79+
| Methods defined here:
80+
|
81+
| __annotate__ = <annotations of B>(...)
82+
|
83+
| ----------------------------------------------------------------------
7984
| Data descriptors defined here:
8085
|
8186
| __dict__%s
@@ -86,8 +91,6 @@ class B(builtins.object)
8691
| Data and other attributes defined here:
8792
|
8893
| NO_MEANING = 'eggs'
89-
|
90-
| __annotations__ = {'NO_MEANING': <class 'str'>}
9194
9295
class C(builtins.object)
9396
| Methods defined here:
@@ -175,6 +178,9 @@ class A(builtins.object)
175178
list of weak references to the object
176179
177180
class B(builtins.object)
181+
Methods defined here:
182+
__annotate__ = (...)
183+
----------------------------------------------------------------------
178184
Data descriptors defined here:
179185
__dict__
180186
dictionary for instance variables
@@ -183,7 +189,6 @@ class B(builtins.object)
183189
----------------------------------------------------------------------
184190
Data and other attributes defined here:
185191
NO_MEANING = 'eggs'
186-
__annotations__ = {'NO_MEANING': <class 'str'>}
187192
188193
189194
class C(builtins.object)

0 commit comments

Comments
 (0)
0