summaryrefslogtreecommitdiffstats
path: root/Lib
diff options
context:
space:
mode:
authorAntoine Pitrou <solipsis@pitrou.net>2013-11-23 18:01:36 (GMT)
committerAntoine Pitrou <solipsis@pitrou.net>2013-11-23 18:01:36 (GMT)
commit7cd9fbe08743a96ce3cccebf1ac3c4a4f6f74e71 (patch)
treed8de6568c8f2b151f8e5e209984740881994ba8b /Lib
parentc9dc4a2a8a6dcfe1674685bea4a4af935c0e37ca (diff)
downloadcpython-7cd9fbe08743a96ce3cccebf1ac3c4a4f6f74e71.zip
cpython-7cd9fbe08743a96ce3cccebf1ac3c4a4f6f74e71.tar.gz
cpython-7cd9fbe08743a96ce3cccebf1ac3c4a4f6f74e71.tar.bz2
Fix whitespace
Diffstat (limited to 'Lib')
-rw-r--r--Lib/test/test_descr.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/Lib/test/test_descr.py b/Lib/test/test_descr.py
index 8ef51de..f08a3d2 100644
--- a/Lib/test/test_descr.py
+++ b/Lib/test/test_descr.py
@@ -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: