From 1a24bb53d562444fad22880a3606ed91c4f66057 Mon Sep 17 00:00:00 2001
From: Guido van Rossum <guido@python.org>
Date: Tue, 9 Dec 1997 19:38:39 +0000
Subject: Fix the test for pow() -- no more TypeErrors are raised!

---
 Demo/classes/Complex.py | 4 ++--
 1 file 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)': [
-- 
cgit v0.12

