[Python-checkins] r68067 - sandbox/trunk/io-c/test_io.py

antoine.pitrou python-checkins at python.org
Tue Dec 30 16:26:45 CET 2008


Author: antoine.pitrou
Date: Tue Dec 30 16:26:45 2008
New Revision: 68067

Log:
fix a comment and remove an unused import



Modified:
   sandbox/trunk/io-c/test_io.py

Modified: sandbox/trunk/io-c/test_io.py
==============================================================================
--- sandbox/trunk/io-c/test_io.py	(original)
+++ sandbox/trunk/io-c/test_io.py	Tue Dec 30 16:26:45 2008
@@ -7,7 +7,7 @@
 import threading
 import random
 import unittest
-from itertools import chain, cycle, count, repeat
+from itertools import chain, cycle, count
 from collections import deque
 from test import support
 
@@ -532,7 +532,7 @@
         for n in range(0, len(contents), 3):
             bufio.write(contents[n:n+3])
         flushed = b"".join(writer._write_stack)
-        # At least (total - 7) bytes were implicitly flushed, perhaps more
+        # At least (total - 8) bytes were implicitly flushed, perhaps more
         # depending on the implementation.
         self.assert_(flushed.startswith(contents[:-8]), flushed)
 


More information about the Python-checkins mailing list