Xiang Zhang added the comment:

Things doesn't come to an end. :-( The enum test suite also gets a related test 
and make the buildbot fail:

FAIL: test_pydoc (test.test_enum.TestStdLib)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "D:\buildarea\3.x.bolen-windows10\build\lib\test\test_enum.py", line 
2409, in test_pydoc
    self.assertEqual(result, expected_text)
AssertionError: 'Help[68 chars]n |  Color(value, names=None, *, module=None, 
[896 chars]ing.' != 'Help[68 chars]n |  An enumeration.\n |  \n |  Method 
resolut[809 chars]ing.'
  Help on class Color in module test.test_enum:
  
  class Color(enum.Enum)
-  |  Color(value, names=None, *, module=None, qualname=None, type=None, 
start=1)
-  |  
   |  An enumeration.
   |  
   |  Method resolution order:
   |      Color
   |      enum.Enum
   |      builtins.object
   |  
   |  Data and other attributes defined here:
   |  
   |  blue = <Color.blue: 3>
   |  
   |  green = <Color.green: 2>
   |  
   |  red = <Color.red: 1>
   |  
   |  ----------------------------------------------------------------------
   |  Data descriptors inherited from enum.Enum:
   |  
   |  name
   |      The name of the Enum member.
   |  
   |  value
   |      The value of the Enum member.
   |  
   |  ----------------------------------------------------------------------
   |  Data descriptors inherited from enum.EnumMeta:
   |  
   |  __members__
   |      Returns a mapping of member name->value.
   |      
   |      This mapping lists all enum members, including aliases. Note that this
   |      is a read-only view of the internal mapping.

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue29338>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to