summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_b1.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/test/test_b1.py')
-rw-r--r--Lib/test/test_b1.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/test/test_b1.py b/Lib/test/test_b1.py
index afa0cf3..cd828b1 100644
--- a/Lib/test/test_b1.py
+++ b/Lib/test/test_b1.py
@@ -102,9 +102,9 @@ compile('print 1\n', '', 'exec')
print 'complex'
class OS:
- def __complex__(self): return 1+10j
+ def __complex__(self): return 1+10j
class NS(object):
- def __complex__(self): return 1+10j
+ def __complex__(self): return 1+10j
if complex(OS()) != 1+10j: raise TestFailed, '__complex__ in old style class'
if complex(NS()) != 1+10j: raise TestFailed, '__complex__ in new style class'
if complex("1+10j") != 1+10j: raise TestFailed, 'complex("1+10j")'