[New-bugs-announce] [issue23826] test_enum fails under -OO

Brett Cannon report at bugs.python.org
Tue Mar 31 18:10:38 CEST 2015

New submission from Brett Cannon:

FAIL: test_pydoc (__main__.TestStdLib)
Traceback (most recent call last):
  File "/Users/bcannon/Repositories/cpython/default/Lib/test/test_enum.py", line 1609, in test_pydoc
    self.assertEqual(result, expected_text)
AssertionError: 'Help[450 chars]n |  \n |  value\n |  \n |  ------------------[123 chars]rs__' != 'Help[450 chars]n |      The name of the Enum member.\n |  \n [394 chars]ing.'
Diff is 969 characters long. Set self.maxDiff to None to see it.

components: Tests
messages: 239728
nosy: brett.cannon
priority: normal
severity: normal
stage: needs patch
status: open
title: test_enum fails under -OO
versions: Python 3.5

Python tracker <report at bugs.python.org>

More information about the New-bugs-announce mailing list