summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_class.py
diff options
context:
space:
mode:
authorFred Drake <fdrake@acm.org>2000-10-23 17:22:08 (GMT)
committerFred Drake <fdrake@acm.org>2000-10-23 17:22:08 (GMT)
commit004d5e6880940ddbb38460986ac62ee0f1bae97d (patch)
tree682e75e743f5c22206a65ac0262c03ce37e4fbee /Lib/test/test_class.py
parent2e6d25c5bbf3e2d4f18191c0836b5ed8f94dc850 (diff)
downloadcpython-004d5e6880940ddbb38460986ac62ee0f1bae97d.zip
cpython-004d5e6880940ddbb38460986ac62ee0f1bae97d.tar.gz
cpython-004d5e6880940ddbb38460986ac62ee0f1bae97d.tar.bz2
Make reindent.py happy (convert everything to 4-space indents!).
Diffstat (limited to 'Lib/test/test_class.py')
-rw-r--r--Lib/test/test_class.py17
1 files changed, 8 insertions, 9 deletions
diff --git a/Lib/test/test_class.py b/Lib/test/test_class.py
index 43c1d3b..3bcbf18 100644
--- a/Lib/test/test_class.py
+++ b/Lib/test/test_class.py
@@ -67,7 +67,7 @@ testmeths = [
class AllTests:
def __coerce__(self, *args):
print "__coerce__:", args
- return (self,) + args
+ return (self,) + args
def __hash__(self, *args):
print "__hash__:", args
@@ -202,18 +202,17 @@ del testme
# Interfering tests
class ExtraTests:
- def __getattr__(self, *args):
- print "__getattr__:", args
- return "SomeVal"
+ def __getattr__(self, *args):
+ print "__getattr__:", args
+ return "SomeVal"
- def __setattr__(self, *args):
- print "__setattr__:", args
+ def __setattr__(self, *args):
+ print "__setattr__:", args
- def __delattr__(self, *args):
- print "__delattr__:", args
+ def __delattr__(self, *args):
+ print "__delattr__:", args
testme = ExtraTests()
testme.spam
testme.eggs = "spam, spam, spam and ham"
del testme.cardinal
-