Skip to content

Commit 1a82f7e

Browse files
committed
Fix test_pydoc failure introduced by 2f09a6980e1a (issue #19030).
1 parent 6459025 commit 1a82f7e

File tree

1 file changed

+14
-14
lines changed

1 file changed

+14
-14
lines changed

‎Lib/test/test_pydoc.py‎

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -214,18 +214,18 @@ class B(builtins.object)
214214
215215
class DA(builtins.object)
216216
| Data descriptors defined here:
217-
|
217+
|\x20\x20
218218
| __dict__
219219
| dictionary for instance variables (if defined)
220-
|
220+
|\x20\x20
221221
| __weakref__
222222
| list of weak references to the object (if defined)
223-
|
223+
|\x20\x20
224224
| ham
225-
|
225+
|\x20\x20
226226
| ----------------------------------------------------------------------
227227
| Data and other attributes inherited from Meta:
228-
|
228+
|\x20\x20
229229
| ham = 'spam'
230230
""".strip()
231231

@@ -234,7 +234,7 @@ class DA(builtins.object)
234234
235235
class Class(builtins.object)
236236
| Data and other attributes inherited from Meta:
237-
|
237+
|\x20\x20
238238
| LIFE = 42
239239
""".strip()
240240

@@ -243,7 +243,7 @@ class Class(builtins.object)
243243
244244
class Class1(builtins.object)
245245
| Data and other attributes inherited from Meta1:
246-
|
246+
|\x20\x20
247247
| one = 1
248248
""".strip()
249249

@@ -255,19 +255,19 @@ class Class2(Class1)
255255
| Class2
256256
| Class1
257257
| builtins.object
258-
|
258+
|\x20\x20
259259
| Data and other attributes inherited from Meta1:
260-
|
260+
|\x20\x20
261261
| one = 1
262-
|
262+
|\x20\x20
263263
| ----------------------------------------------------------------------
264264
| Data and other attributes inherited from Meta3:
265-
|
265+
|\x20\x20
266266
| three = 3
267-
|
267+
|\x20\x20
268268
| ----------------------------------------------------------------------
269269
| Data and other attributes inherited from Meta2:
270-
|
270+
|\x20\x20
271271
| two = 2
272272
""".strip()
273273

@@ -276,7 +276,7 @@ class Class2(Class1)
276276
277277
class C(builtins.object)
278278
| Data and other attributes defined here:
279-
|
279+
|\x20\x20
280280
| here = 'present!'
281281
""".strip()
282282

0 commit comments

Comments
 (0)