-
-
Notifications
You must be signed in to change notification settings - Fork 86
Closed
Labels
bugSomething isn't workingSomething isn't workingdocumentationIssue on documentationIssue on documentation
Milestone
Description
Describe the bug
Documentation (https://py7zr.readthedocs.io/en/latest/py7zr.html#py7zr.SevenZipFile.testzip) says there is a testzip() method on SevenZipFile that returns the name of the first corrupt file or None. There isn't. There is a test() method that return True if the file is not corrupt or False if it is
To Reproduce
Steps to reproduce the behavior:
(example)
- Run following code with python3.
'
import py7zr
archive = py7zr.SevenZipFile('test.7z','w')
archive.testzip()
' - see error
Expected behavior
Either add the method (which I think would be a good idea as that is what the zipfile module does) or correct the docs.
Environment (please complete the following information):
- OS: Ubuntu Linux 20.04
- Python 3.8
- py7zr version: 0.7.1
miurahr
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workingdocumentationIssue on documentationIssue on documentation