aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite
diff options
context:
space:
mode:
authorTom Tromey <tromey@redhat.com>2010-06-04 16:40:15 +0000
committerTom Tromey <tromey@redhat.com>2010-06-04 16:40:15 +0000
commiteb80184136fd0c02589c2eb0be319e4f70e6b130 (patch)
treea79397192e5815e41d0b1a07093c134604042cd2 /gdb/testsuite
parent38979823d91590adf50c6dcca265e15322dc28fd (diff)
downloadbinutils-eb80184136fd0c02589c2eb0be319e4f70e6b130.zip
binutils-eb80184136fd0c02589c2eb0be319e4f70e6b130.tar.gz
binutils-eb80184136fd0c02589c2eb0be319e4f70e6b130.tar.bz2
* gdb.python/py-value.exp (test_value_hash): Don't test equality
of hash and id.
Diffstat (limited to 'gdb/testsuite')
-rw-r--r--gdb/testsuite/ChangeLog5
-rw-r--r--gdb/testsuite/gdb.python/py-value.exp1
2 files changed, 5 insertions, 1 deletions
diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog
index 4eac1cc..45e4689 100644
--- a/gdb/testsuite/ChangeLog
+++ b/gdb/testsuite/ChangeLog
@@ -1,3 +1,8 @@
+2010-06-04 Tom Tromey <tromey@redhat.com>
+
+ * gdb.python/py-value.exp (test_value_hash): Don't test equality
+ of hash and id.
+
2010-06-04 Jan Kratochvil <jan.kratochvil@redhat.com>
* 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 4ae42ad..39a456f 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"
}