Fix whitespace

This commit is contained in:
Antoine Pitrou 2013-11-23 19:01:36 +01:00
parent c9dc4a2a8a
commit 7cd9fbe087

View file

@ -4774,7 +4774,7 @@ class PicklingTests(unittest.TestCase):
def __getstate__(self): def __getstate__(self):
state = getattr(self, '__dict__', {}).copy() state = getattr(self, '__dict__', {}).copy()
for cls in type(self).__mro__: for cls in type(self).__mro__:
for slot in cls.__dict__.get('__slots__', ()): for slot in cls.__dict__.get('__slots__', ()):
try: try:
state[slot] = getattr(self, slot) state[slot] = getattr(self, slot)
except AttributeError: except AttributeError: