* gdb.python/py-value.exp (test_value_hash): Don't test equality
authorTom Tromey <tromey@redhat.com>
Fri, 4 Jun 2010 16:40:15 +0000 (16:40 +0000)
committerTom Tromey <tromey@redhat.com>
Fri, 4 Jun 2010 16:40:15 +0000 (16:40 +0000)
of hash and id.

gdb/testsuite/ChangeLog
gdb/testsuite/gdb.python/py-value.exp

index 4eac1cc2c5a4bce2189ed33a73079f1fcd44a8c6..45e4689bd41833cd5c226d99a67a225499b4901c 100644 (file)
@@ -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
index 4ae42adcddd463e3aeb7d3eaae0608f96825d008..39a456f33b82bba4d463b3247cfda1b96e2b228d 100644 (file)
@@ -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"
 }