From eb80184136fd0c02589c2eb0be319e4f70e6b130 Mon Sep 17 00:00:00 2001 From: Tom Tromey Date: Fri, 4 Jun 2010 16:40:15 +0000 Subject: [PATCH] * gdb.python/py-value.exp (test_value_hash): Don't test equality of hash and id. --- gdb/testsuite/ChangeLog | 5 +++++ gdb/testsuite/gdb.python/py-value.exp | 1 - 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index 4eac1cc2c5a..45e4689bd41 100644 --- a/gdb/testsuite/ChangeLog +++ b/gdb/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2010-06-04 Tom Tromey + + * gdb.python/py-value.exp (test_value_hash): Don't test equality + of hash and id. + 2010-06-04 Jan Kratochvil * gdb.base/commands.exp (add printf tbreak command): Remove trailing diff --git a/gdb/testsuite/gdb.python/py-value.exp b/gdb/testsuite/gdb.python/py-value.exp index 4ae42adcddd..39a456f33b8 100644 --- a/gdb/testsuite/gdb.python/py-value.exp +++ b/gdb/testsuite/gdb.python/py-value.exp @@ -406,7 +406,6 @@ proc test_value_hash {} { gdb_test "python print vdict\[two\]" "two str" "Test dictionary hash" gdb_test "python print vdict\[three\]" "three str" "Test dictionary hash" gdb_test "python print one.__hash__() == hash(one)" "True" "Test inbuilt hash" - gdb_test "python print one.__hash__() == id(one)" "True" "Test inbuilt id" } -- 2.30.2