diff options
author | Guido van Rossum <guido@python.org> | 2006-04-17 23:38:13 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 2006-04-17 23:38:13 (GMT) |
commit | 7ea7d90dbe98788609949d21abeea0e5830f2ccf (patch) | |
tree | 50d1ca4ade1fb4461f0e628c4397623d32e45136 /Lib/test | |
parent | 69e8084ad683bb57a2e5a874eabc714f1d3af644 (diff) | |
download | cpython-7ea7d90dbe98788609949d21abeea0e5830f2ccf.zip cpython-7ea7d90dbe98788609949d21abeea0e5830f2ccf.tar.gz cpython-7ea7d90dbe98788609949d21abeea0e5830f2ccf.tar.bz2 |
Fix the expected output file; new classes just behave differently...
(There are some other problems with test_class.py that aren't as
easily fixed. :-( )
Diffstat (limited to 'Lib/test')
-rw-r--r-- | Lib/test/output/test_class | 44 |
1 files changed, 5 insertions, 39 deletions
diff --git a/Lib/test/output/test_class b/Lib/test/output/test_class index 93827f1..14d43a8 100644 --- a/Lib/test/output/test_class +++ b/Lib/test/output/test_class @@ -1,52 +1,28 @@ test_class __init__: () -__coerce__: (1,) __add__: (1,) -__coerce__: (1,) __radd__: (1,) -__coerce__: (1,) __sub__: (1,) -__coerce__: (1,) __rsub__: (1,) -__coerce__: (1,) __mul__: (1,) -__coerce__: (1,) __rmul__: (1,) -__coerce__: (1,) -__div__: (1,) -__coerce__: (1,) -__rdiv__: (1,) -__coerce__: (1,) +__truediv__: (1,) +__rtruediv__: (1,) __mod__: (1,) -__coerce__: (1,) __rmod__: (1,) -__coerce__: (1,) __divmod__: (1,) -__coerce__: (1,) __rdivmod__: (1,) -__coerce__: (1,) __pow__: (1,) -__coerce__: (1,) __rpow__: (1,) -__coerce__: (1,) __rshift__: (1,) -__coerce__: (1,) __rrshift__: (1,) -__coerce__: (1,) __lshift__: (1,) -__coerce__: (1,) __rlshift__: (1,) -__coerce__: (1,) __and__: (1,) -__coerce__: (1,) __rand__: (1,) -__coerce__: (1,) __or__: (1,) -__coerce__: (1,) __ror__: (1,) -__coerce__: (1,) __xor__: (1,) -__coerce__: (1,) __rxor__: (1,) __contains__: (1,) __getitem__: (1,) @@ -61,9 +37,9 @@ __delitem__: (slice(2, 1024, 10),) __getitem__: ((slice(None, 42, None), Ellipsis, slice(None, 24, None), 24, 100),) __setitem__: ((slice(None, 42, None), Ellipsis, slice(None, 24, None), 24, 100), 'Strange') __delitem__: ((slice(None, 42, None), Ellipsis, slice(None, 24, None), 24, 100),) -__getitem__: (slice(0, 42, None),) -__setitem__: (slice(0, 42, None), 'The Answer') -__delitem__: (slice(0, 42, None),) +__getitem__: (slice(None, 42, None),) +__setitem__: (slice(None, 42, None), 'The Answer') +__delitem__: (slice(None, 42, None),) __neg__: () __pos__: () __abs__: () @@ -75,25 +51,15 @@ __hex__: () __hash__: () __repr__: () __str__: () -__coerce__: (1,) __cmp__: (1,) -__coerce__: (1,) __cmp__: (1,) -__coerce__: (1,) __cmp__: (1,) -__coerce__: (1,) __cmp__: (1,) -__coerce__: (1,) __cmp__: (1,) -__coerce__: (1,) __cmp__: (1,) -__coerce__: (1,) __cmp__: (1,) -__coerce__: (1,) __cmp__: (1,) -__coerce__: (1,) __cmp__: (1,) -__coerce__: (1,) __cmp__: (1,) __del__: () __getattr__: ('spam',) |