cpython: a0ec33b83ba4 (original) (raw)

Mercurial > cpython

changeset 87327:a0ec33b83ba4

Issue #19664: test_userdict's repr test no longer depends on the order of dict elements. Original patch by Serhiy Storchaka [#19664]

Christian Heimes christian@cheimes.de
date Fri, 22 Nov 2013 01:16:56 +0100
parents ef03369385ba
children 392212768451
files Lib/test/test_userdict.py Misc/NEWS
diffstat 2 files changed, 5 insertions(+), 1 deletions(-)[+] [-] Lib/test/test_userdict.py 3 Misc/NEWS 3

line wrap: on

line diff

--- a/Lib/test/test_userdict.py +++ b/Lib/test/test_userdict.py @@ -45,7 +45,8 @@ class UserDictTest(mapping_tests.TestHas # Test repr self.assertEqual(str(u0), str(d0)) self.assertEqual(repr(u1), repr(d1))

# Test rich comparison and len all = [d0, d1, d2, u, u0, u1, u2, uu, uu0, uu1, uu2]

--- a/Misc/NEWS +++ b/Misc/NEWS @@ -306,6 +306,9 @@ Library Tests ----- +- Issue #19664: test_userdict's repr test no longer depends on the order