mirror of https://github.com/python/cpython
22 lines
626 B
Plaintext
22 lines
626 B
Plaintext
test_operations
|
|
3. Operations
|
|
XXX Mostly not yet implemented
|
|
3.1 Dictionary lookups fail if __cmp__() raises an exception
|
|
raising error
|
|
d[x2] = 2: caught the RuntimeError outside
|
|
raising error
|
|
z = d[x2]: caught the RuntimeError outside
|
|
raising error
|
|
x2 in d: caught the RuntimeError outside
|
|
raising error
|
|
d.has_key(x2): caught the RuntimeError outside
|
|
raising error
|
|
d.get(x2): caught the RuntimeError outside
|
|
raising error
|
|
d.setdefault(x2, 42): caught the RuntimeError outside
|
|
raising error
|
|
d.pop(x2): caught the RuntimeError outside
|
|
raising error
|
|
d.update({x2: 2}): caught the RuntimeError outside
|
|
resize bugs not triggered.
|