Skip to content

Commit 6a55aad

Browse files
committed
add suggested changes
1 parent a2c9037 commit 6a55aad

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

Lib/test/test_zipfile/test_core.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
import _pyio
12
import array
23
import contextlib
34
import importlib.util
@@ -26,7 +27,6 @@
2627
from test.support.os_helper import (
2728
TESTFN, unlink, rmtree, temp_dir, temp_cwd, fd_count, FakePath
2829
)
29-
import _pyio
3030

3131

3232
TESTFN2 = TESTFN + "2"
@@ -3450,6 +3450,8 @@ def test_too_short(self):
34503450

34513451

34523452
class StatIO(_pyio.BytesIO):
3453+
"""Buffer which remembers the number of bytes that were read."""
3454+
34533455
def __init__(self):
34543456
super().__init__()
34553457
self.bytes_read = 0
@@ -3516,5 +3518,6 @@ def test_random_read(self):
35163518
fp.seek(12345, os.SEEK_SET)
35173519
self.assertFalse(fp._eof)
35183520

3521+
35193522
if __name__ == "__main__":
35203523
unittest.main()

0 commit comments

Comments
 (0)