]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Fix whitespace
authorAntoine Pitrou <solipsis@pitrou.net>
Sat, 23 Nov 2013 18:01:36 +0000 (19:01 +0100)
committerAntoine Pitrou <solipsis@pitrou.net>
Sat, 23 Nov 2013 18:01:36 +0000 (19:01 +0100)
Lib/test/test_descr.py

index 8ef51de32863d1d66f79a6da4ee3010b774b7e09..f08a3d2bf613c40f989d0463f20e12554ea4cb74 100644 (file)
@@ -4525,7 +4525,7 @@ class MiscTests(unittest.TestCase):
 
 class PicklingTests(unittest.TestCase):
 
-    def _check_reduce(self, proto, obj, args=(), kwargs={}, state=None, 
+    def _check_reduce(self, proto, obj, args=(), kwargs={}, state=None,
                       listitems=None, dictitems=None):
         if proto >= 4:
             reduce_value = obj.__reduce_ex__(proto)
@@ -4559,7 +4559,7 @@ class PicklingTests(unittest.TestCase):
             base_type = type(obj).__base__
             reduce_value = (copyreg._reconstructor,
                             (type(obj),
-                             base_type, 
+                             base_type,
                              None if base_type is object else base_type(obj)))
             if state is not None:
                 reduce_value += (state,)
@@ -4774,7 +4774,7 @@ class PicklingTests(unittest.TestCase):
             def __getstate__(self):
                 state = getattr(self, '__dict__', {}).copy()
                 for cls in type(self).__mro__:
-                     for slot in cls.__dict__.get('__slots__', ()):
+                    for slot in cls.__dict__.get('__slots__', ()):
                         try:
                             state[slot] = getattr(self, slot)
                         except AttributeError: