Kaydet (Commit) 1a82f7e6 authored tarafından Charles-François Natali's avatar Charles-François Natali

Fix test_pydoc failure introduced by 2f09a6980e1a (issue #19030).

üst 6459025b
...@@ -214,18 +214,18 @@ Help on class DA in module %s: ...@@ -214,18 +214,18 @@ Help on class DA in module %s:
class DA(builtins.object) class DA(builtins.object)
| Data descriptors defined here: | Data descriptors defined here:
| |\x20\x20
| __dict__ | __dict__
| dictionary for instance variables (if defined) | dictionary for instance variables (if defined)
| |\x20\x20
| __weakref__ | __weakref__
| list of weak references to the object (if defined) | list of weak references to the object (if defined)
| |\x20\x20
| ham | ham
| |\x20\x20
| ---------------------------------------------------------------------- | ----------------------------------------------------------------------
| Data and other attributes inherited from Meta: | Data and other attributes inherited from Meta:
| |\x20\x20
| ham = 'spam' | ham = 'spam'
""".strip() """.strip()
...@@ -234,7 +234,7 @@ Help on class Class in module %s: ...@@ -234,7 +234,7 @@ Help on class Class in module %s:
class Class(builtins.object) class Class(builtins.object)
| Data and other attributes inherited from Meta: | Data and other attributes inherited from Meta:
| |\x20\x20
| LIFE = 42 | LIFE = 42
""".strip() """.strip()
...@@ -243,7 +243,7 @@ Help on class Class1 in module %s: ...@@ -243,7 +243,7 @@ Help on class Class1 in module %s:
class Class1(builtins.object) class Class1(builtins.object)
| Data and other attributes inherited from Meta1: | Data and other attributes inherited from Meta1:
| |\x20\x20
| one = 1 | one = 1
""".strip() """.strip()
...@@ -255,19 +255,19 @@ class Class2(Class1) ...@@ -255,19 +255,19 @@ class Class2(Class1)
| Class2 | Class2
| Class1 | Class1
| builtins.object | builtins.object
| |\x20\x20
| Data and other attributes inherited from Meta1: | Data and other attributes inherited from Meta1:
| |\x20\x20
| one = 1 | one = 1
| |\x20\x20
| ---------------------------------------------------------------------- | ----------------------------------------------------------------------
| Data and other attributes inherited from Meta3: | Data and other attributes inherited from Meta3:
| |\x20\x20
| three = 3 | three = 3
| |\x20\x20
| ---------------------------------------------------------------------- | ----------------------------------------------------------------------
| Data and other attributes inherited from Meta2: | Data and other attributes inherited from Meta2:
| |\x20\x20
| two = 2 | two = 2
""".strip() """.strip()
...@@ -276,7 +276,7 @@ Help on class C in module %s: ...@@ -276,7 +276,7 @@ Help on class C in module %s:
class C(builtins.object) class C(builtins.object)
| Data and other attributes defined here: | Data and other attributes defined here:
| |\x20\x20
| here = 'present!' | here = 'present!'
""".strip() """.strip()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment