mirror of https://github.com/python/cpython
20 lines
565 B
Plaintext
20 lines
565 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.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.
|