[Python-checkins] cpython: Issue #19183: test_gdb's test_dict was failing on some machines as the order or

christian.heimes python-checkins at python.org
Wed Nov 20 12:00:45 CET 2013


http://hg.python.org/cpython/rev/422ed27b62ce
changeset:   87289:422ed27b62ce
user:        Christian Heimes <christian at cheimes.de>
date:        Wed Nov 20 12:00:35 2013 +0100
summary:
  Issue #19183: test_gdb's test_dict was failing on some machines as the order or dict keys has changed again.

files:
  Lib/test/test_gdb.py |  3 +--
  1 files changed, 1 insertions(+), 2 deletions(-)


diff --git a/Lib/test/test_gdb.py b/Lib/test/test_gdb.py
--- a/Lib/test/test_gdb.py
+++ b/Lib/test/test_gdb.py
@@ -248,8 +248,7 @@
         'Verify the pretty-printing of dictionaries'
         self.assertGdbRepr({})
         self.assertGdbRepr({'foo': 'bar'})
-        self.assertGdbRepr({'foo': 'bar', 'douglas': 42},
-                           "{'foo': 'bar', 'douglas': 42}")
+        self.assertGdbRepr({'foo': 'bar', 'douglas': 42}),
 
     def test_lists(self):
         'Verify the pretty-printing of lists'

-- 
Repository URL: http://hg.python.org/cpython


More information about the Python-checkins mailing list