[New-bugs-announce] [issue25449] Test OrderedDict subclass

Serhiy Storchaka report at bugs.python.org
Tue Oct 20 23:12:18 CEST 2015


New submission from Serhiy Storchaka:

C implementation of OrderedDict often has two paths. One for exact OrderedDict and other for subclasses. But only one of the paths is tested.
Proposed patch adds tests for a subclass of C implemented OrderedDict.

test_issue24347 is failed with OrderedDict subclass. Either there is a bug in OrderedDict implementation, or the test should be more lenient.

----------
components: Extension Modules, Tests
files: odict_subclass_test.patch
keywords: patch
messages: 253254
nosy: eric.smith, serhiy.storchaka
priority: normal
severity: normal
status: open
title: Test OrderedDict subclass
type: enhancement
versions: Python 3.5, Python 3.6
Added file: http://bugs.python.org/file40827/odict_subclass_test.patch

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue25449>
_______________________________________


More information about the New-bugs-announce mailing list