I was surprised that the following fail:
p = zipfile.Path(root)
assert p / 'f.txt' == p / 'f.txt' # raise AssertionError
assert p.joinpath() == p # raise AssertionError
It looks like zipfile.Path does not define __eq__
nor __hash__
. Shouldn’t those be added ?