Skip to content

Commit f359533

Browse files
Aaron WieczorekAaron Wieczorek
authored andcommitted
Remove trailing whitespace in test_pickle.py
1 parent 1e4c48f commit f359533

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

Lib/test/test_pickle.py

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -391,29 +391,29 @@ class CPicklerTests(PyPicklerTests):
391391
def test_release_in_callback_keepalive(self):
392392
base = bytearray(b'A' * 16)
393393
pb = pickle.PickleBuffer(base)
394-
394+
395395
class Evil:
396396
def __bool__(self):
397397
pb.release()
398398
return True
399-
399+
400400
def callback(p):
401401
return Evil()
402-
402+
403403
for proto in range(5, pickle.HIGHEST_PROTOCOL + 1):
404404
result = self.dumps(pb, proto, buffer_callback=callback)
405405
self.assertIn(b'A' * 16, result)
406406

407407
def test_release_in_callback_complex_keepalive(self):
408408
base = bytearray(b'A' * 32)
409-
view = memoryview(base)[10:26]
409+
view = memoryview(base)[10:26]
410410
pb = pickle.PickleBuffer(view)
411-
411+
412412
class Evil:
413413
def __bool__(self):
414414
pb.release()
415415
return True
416-
416+
417417
def callback(p):
418418
return Evil()
419419

0 commit comments

Comments
 (0)