Fix the test for pow() -- no more TypeErrors are raised!
This commit is contained in:
parent
ebd05eb10b
commit
1a24bb53d5
|
@ -271,10 +271,10 @@ def test():
|
|||
],
|
||||
'pow(a,b)': [
|
||||
(1, 10, 1),
|
||||
(1, Complex(0,10), 'TypeError'),
|
||||
(1, Complex(0,10), 1),
|
||||
(Complex(0,10), 1, Complex(0,10)),
|
||||
(Complex(0,10), Complex(1), Complex(0,10)),
|
||||
(Complex(1), Complex(0,10), 'TypeError'),
|
||||
(Complex(1), Complex(0,10), 1),
|
||||
(2, Complex(4,0), 16),
|
||||
],
|
||||
'cmp(a,b)': [
|
||||
|
|
Loading…
Reference in New Issue