[Python-checkins] cpython: Fix test_pydoc failure introduced by 2f09a6980e1a (issue #19030).

charles-francois.natali python-checkins at python.org
Mon Oct 21 14:45:32 CEST 2013


http://hg.python.org/cpython/rev/dad1debba93c
changeset:   86550:dad1debba93c
user:        Charles-François Natali <cf.natali at gmail.com>
date:        Mon Oct 21 14:46:34 2013 +0200
summary:
  Fix test_pydoc failure introduced by 2f09a6980e1a (issue #19030).

files:
  Lib/test/test_pydoc.py |  28 ++++++++++++++--------------
  1 files changed, 14 insertions(+), 14 deletions(-)


diff --git a/Lib/test/test_pydoc.py b/Lib/test/test_pydoc.py
--- a/Lib/test/test_pydoc.py
+++ b/Lib/test/test_pydoc.py
@@ -214,18 +214,18 @@
 
 class DA(builtins.object)
  |  Data descriptors defined here:
- |
+ |\x20\x20
  |  __dict__
  |      dictionary for instance variables (if defined)
- |
+ |\x20\x20
  |  __weakref__
  |      list of weak references to the object (if defined)
- |
+ |\x20\x20
  |  ham
- |
+ |\x20\x20
  |  ----------------------------------------------------------------------
  |  Data and other attributes inherited from Meta:
- |
+ |\x20\x20
  |  ham = 'spam'
 """.strip()
 
@@ -234,7 +234,7 @@
 
 class Class(builtins.object)
  |  Data and other attributes inherited from Meta:
- |
+ |\x20\x20
  |  LIFE = 42
 """.strip()
 
@@ -243,7 +243,7 @@
 
 class Class1(builtins.object)
  |  Data and other attributes inherited from Meta1:
- |
+ |\x20\x20
  |  one = 1
 """.strip()
 
@@ -255,19 +255,19 @@
  |      Class2
  |      Class1
  |      builtins.object
- |
+ |\x20\x20
  |  Data and other attributes inherited from Meta1:
- |
+ |\x20\x20
  |  one = 1
- |
+ |\x20\x20
  |  ----------------------------------------------------------------------
  |  Data and other attributes inherited from Meta3:
- |
+ |\x20\x20
  |  three = 3
- |
+ |\x20\x20
  |  ----------------------------------------------------------------------
  |  Data and other attributes inherited from Meta2:
- |
+ |\x20\x20
  |  two = 2
 """.strip()
 
@@ -276,7 +276,7 @@
 
 class C(builtins.object)
  |  Data and other attributes defined here:
- |
+ |\x20\x20
  |  here = 'present!'
 """.strip()
 

-- 
Repository URL: http://hg.python.org/cpython


More information about the Python-checkins mailing list