1996-12-10 19:20:09 -04:00
|
|
|
test_operations
|
|
|
|
3. Operations
|
2000-08-31 16:48:52 -03:00
|
|
|
XXX Mostly not yet implemented
|
2006-06-01 10:19:12 -03:00
|
|
|
3.1 Dictionary lookups fail if __cmp__() raises an exception
|
2000-08-31 16:48:52 -03:00
|
|
|
raising error
|
2006-06-01 10:19:12 -03:00
|
|
|
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.
|