diff options
author | Tim Peters <tim.peters@gmail.com> | 2002-12-24 18:31:27 (GMT) |
---|---|---|
committer | Tim Peters <tim.peters@gmail.com> | 2002-12-24 18:31:27 (GMT) |
commit | 6578dc925ff0a7953ae50c7ac41a81b0bd54762e (patch) | |
tree | 664ef0a4ee41d78a05928ba63fd1bcdbc27fbebd /Lib/test/test_descr.py | |
parent | 75bfd0585b9f197845fd7a429715807175c33e9f (diff) | |
download | cpython-6578dc925ff0a7953ae50c7ac41a81b0bd54762e.zip cpython-6578dc925ff0a7953ae50c7ac41a81b0bd54762e.tar.gz cpython-6578dc925ff0a7953ae50c7ac41a81b0bd54762e.tar.bz2 |
Whitespace normalization.
Diffstat (limited to 'Lib/test/test_descr.py')
-rw-r--r-- | Lib/test/test_descr.py | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/Lib/test/test_descr.py b/Lib/test/test_descr.py index 0f656c2..8d36fd5 100644 --- a/Lib/test/test_descr.py +++ b/Lib/test/test_descr.py @@ -3447,7 +3447,7 @@ def test_mutable_bases(): if attr == 'a': return 2 else: - return super(C2, self).__getattribute__(attr) + return super(C2, self).__getattribute__(attr) def meth(self): return 1 class D(C): @@ -3576,7 +3576,7 @@ def test_mutable_bases_with_failing_mro(): # Immediate subclasses have their mro's adjusted in alphabetical # order, so E's will get adjusted before adjusting F's fails. We # check here that E's gets restored. - + E_mro_before = E.__mro__ D_mro_before = D.__mro__ @@ -3610,20 +3610,20 @@ def test_mutable_bases_catch_mro_conflict(): pass else: raise TestFailed, "didn't catch MRO conflict" - + def mutable_names(): class C(object): pass # C.__module__ could be 'test_descr' or '__main__' mod = C.__module__ - + C.__name__ = 'D' vereq((C.__module__, C.__name__), (mod, 'D')) C.__name__ = 'D.E' vereq((C.__module__, C.__name__), (mod, 'D.E')) - + def test_main(): do_this_first() |