Skip to content

Commit bc40ecd

Browse files
Add xb+ test
1 parent c2e2065 commit bc40ecd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Lib/test/test_gzip.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -639,7 +639,7 @@ def test_fileobj_mode(self):
639639
with open(self.filename, mode) as f:
640640
with gzip.GzipFile(fileobj=f) as g:
641641
self.assertEqual(g.mode, gzip.READ)
642-
for mode in "wb", "ab", "xb", "wb+", "ab+":
642+
for mode in "wb", "ab", "xb", "wb+", "ab+", "xb+":
643643
if "x" in mode:
644644
os_helper.unlink(self.filename)
645645
with open(self.filename, mode) as f:

0 commit comments

Comments
 (0)