diff options
Diffstat (limited to 'Demo')
-rwxr-xr-x | Demo/classes/Complex.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Demo/classes/Complex.py b/Demo/classes/Complex.py index d2f6f23..bfb0d95 100755 --- a/Demo/classes/Complex.py +++ b/Demo/classes/Complex.py @@ -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)': [ |