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 <rep...@bugs.python.org>
<http://bugs.python.org/issue25449>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to