Match new sequence behavior. User defined types now behave better as and

with sequences.
This commit is contained in:
Neil Schemenauer 2002-12-30 20:21:15 +00:00
parent 36e142e1e6
commit 3ea60c2a7a
1 changed files with 2 additions and 2 deletions

View File

@ -520,7 +520,7 @@ test_coercion
[1] - <MethodNumber 1> ... exceptions.TypeError [1] - <MethodNumber 1> ... exceptions.TypeError
[1] -= <MethodNumber 1> ... exceptions.TypeError [1] -= <MethodNumber 1> ... exceptions.TypeError
[1] * <MethodNumber 1> = [1] [1] * <MethodNumber 1> = [1]
[1] *= <MethodNumber 1> ... exceptions.TypeError [1] *= <MethodNumber 1> => [1]
[1] / <MethodNumber 1> ... exceptions.TypeError [1] / <MethodNumber 1> ... exceptions.TypeError
[1] /= <MethodNumber 1> ... exceptions.TypeError [1] /= <MethodNumber 1> ... exceptions.TypeError
[1] ** <MethodNumber 1> ... exceptions.TypeError [1] ** <MethodNumber 1> ... exceptions.TypeError
@ -532,7 +532,7 @@ test_coercion
[1] - <CoerceNumber 2> ... exceptions.TypeError [1] - <CoerceNumber 2> ... exceptions.TypeError
[1] -= <CoerceNumber 2> ... exceptions.TypeError [1] -= <CoerceNumber 2> ... exceptions.TypeError
[1] * <CoerceNumber 2> = [1, 1] [1] * <CoerceNumber 2> = [1, 1]
[1] *= <CoerceNumber 2> ... exceptions.TypeError [1] *= <CoerceNumber 2> => [1, 1]
[1] / <CoerceNumber 2> ... exceptions.TypeError [1] / <CoerceNumber 2> ... exceptions.TypeError
[1] /= <CoerceNumber 2> ... exceptions.TypeError [1] /= <CoerceNumber 2> ... exceptions.TypeError
[1] ** <CoerceNumber 2> ... exceptions.TypeError [1] ** <CoerceNumber 2> ... exceptions.TypeError