This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author xiang.zhang
Recipients larry, ncoghlan, python-dev, rhettinger, serhiy.storchaka, xiang.zhang, yselivanov
Date 2017-01-24.02:45:06
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1485225908.45.0.902291239728.issue29338@psf.upfronthosting.co.za>
In-reply-to
Content
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.
History
Date User Action Args
2017-01-24 02:45:08xiang.zhangsetrecipients: + xiang.zhang, rhettinger, ncoghlan, larry, python-dev, serhiy.storchaka, yselivanov
2017-01-24 02:45:08xiang.zhangsetmessageid: <1485225908.45.0.902291239728.issue29338@psf.upfronthosting.co.za>
2017-01-24 02:45:08xiang.zhanglinkissue29338 messages
2017-01-24 02:45:06xiang.zhangcreate