Skip to content

Commit

Permalink
Merge branch 'master' into backports
Browse files Browse the repository at this point in the history
  • Loading branch information
jaraco authored Jan 23, 2020
2 parents 6aa23c5 + 45db54b commit 1c1a2b3
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion test_zipp.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@

import io
import zipfile
import posixpath
import contextlib
import pathlib
import unittest
Expand Down Expand Up @@ -109,6 +108,14 @@ def test_iterdir_and_types(self):
i, = h.iterdir()
assert i.is_file()

def test_subdir_is_dir(self):
for alpharep in self.zipfile_alpharep():
root = zipp.Path(alpharep)
assert (root / 'b').is_dir()
assert (root / 'b/').is_dir()
assert (root / 'g').is_dir()
assert (root / 'g/').is_dir()

def test_open(self):
for alpharep in self.zipfile_alpharep():
root = zipp.Path(alpharep)
Expand Down

0 comments on commit 1c1a2b3

Please sign in to comment.