New submission from Frank Wierzbicki <fwierzbi...@gmail.com>:

test_same_as_repr in test_pprint.py assumes repr of literal dict {5:6,
7:8} will be ordered.  This definitely is not the case for Jython, and
the comments above the test appear to indicate that it is not a
guarantee of CPython either.

----------
components: Tests
files: test_pprint_patch.txt
messages: 84561
nosy: fwierzbicki
severity: normal
status: open
title: Don't assume that repr of literal dicts are sorted like pprint sorts 
them.
type: behavior
versions: Python 2.7
Added file: http://bugs.python.org/file13471/test_pprint_patch.txt

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

Reply via email to