New submission from Frank Wierzbicki:

test_dictcomp hard codes the dict output of various tests of Dict 
Comprehensions. Since Jython has a different dict ordering we are currently 
altering this test. When we get to 3.x it will be nicer if we can use this test 
as is. Also I've seen some discussion on Python-Dev that CPython devs want to 
get rid of dict ordering in the tests anyway. Patch attached, which assigns the 
dict values to a variable and compares it in the tests instead of just dumping 
the output in the doctests.

----------
components: Tests
files: test_dictcomp.patch
keywords: patch
messages: 179272
nosy: fwierzbicki
priority: normal
severity: normal
status: open
title: Doctests in test_dictcomp depend on dict order
versions: Python 3.4
Added file: http://bugs.python.org/file28613/test_dictcomp.patch

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue16886>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to