[New-bugs-announce] [issue19252] Enum.py : Enum.__new__() : Test Coverage

CliffM report at bugs.python.org
Sun Oct 13 22:51:42 CEST 2013

New submission from CliffM:

test_nonhash_value tests the lookup of an Enum Member from a value.

The current test does not exercise the iteration over values completely -- the if-clause being redundant wrt the existing test.

My patch adds an additional test which requires the if-clause.

components: Extension Modules, Tests
files: enum.patch
keywords: patch
messages: 199800
nosy: CliffM
priority: normal
severity: normal
status: open
title: Enum.py : Enum.__new__() : Test Coverage
type: enhancement
versions: Python 3.4
Added file: http://bugs.python.org/file32099/enum.patch

Python tracker <report at bugs.python.org>

More information about the New-bugs-announce mailing list