homepage

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 serhiy.storchaka
Recipients Claudiu.Popa, eric.araujo, eric.snow, ethan.furman, ncoghlan, python-dev, serhiy.storchaka, yselivanov
Date 2015年04月03日.21:58:28
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1428098308.74.0.213331419429.issue15582@psf.upfronthosting.co.za>
In-reply-to
Content
Unfortunately this enhancement breaks test_enum.
======================================================================
FAIL: test_pydoc (test.test_enum.TestStdLib)
----------------------------------------------------------------------
Traceback (most recent call last):
 File "/home/serhiy/py/cpython/Lib/test/test_enum.py", line 1609, in test_pydoc
 self.assertEqual(result, expected_text)
AssertionError: 'Help[68 chars]n | Generic enumeration.\n | \n | Derive fr[876 chars]ing.' != 'Help[68 chars]n | Method resolution order:\n | Color\n[782 chars]ing.'
 Help on class Color in module test.test_enum:
 
 class Color(enum.Enum)
- | Generic enumeration.
- | 
- | Derive from this class to define new enumerations.
- | 
 | 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
2015年04月03日 21:58:28serhiy.storchakasetrecipients: + serhiy.storchaka, ncoghlan, eric.araujo, Claudiu.Popa, ethan.furman, python-dev, eric.snow, yselivanov
2015年04月03日 21:58:28serhiy.storchakasetmessageid: <1428098308.74.0.213331419429.issue15582@psf.upfronthosting.co.za>
2015年04月03日 21:58:28serhiy.storchakalinkissue15582 messages
2015年04月03日 21:58:28serhiy.storchakacreate

AltStyle によって変換されたページ (->オリジナル) /