mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-11-25 02:53:48 +08:00
* gdb.python/py-value.exp (test_value_hash): Don't test equality
of hash and id.
This commit is contained in:
parent
38979823d9
commit
eb80184136
@ -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>
|
2010-06-04 Jan Kratochvil <jan.kratochvil@redhat.com>
|
||||||
|
|
||||||
* gdb.base/commands.exp (add printf tbreak command): Remove trailing
|
* gdb.base/commands.exp (add printf tbreak command): Remove trailing
|
||||||
|
@ -406,7 +406,6 @@ proc test_value_hash {} {
|
|||||||
gdb_test "python print vdict\[two\]" "two str" "Test dictionary 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 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__() == hash(one)" "True" "Test inbuilt hash"
|
||||||
gdb_test "python print one.__hash__() == id(one)" "True" "Test inbuilt id"
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user