Skip to content

Commit 5b6acfb

Browse files
tests/test_general.py: test_4746(): fix call to archive.add().
Previously it only worked if a file `foo` existed in current directory.
1 parent 31a34ff commit 5b6acfb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/test_general.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2184,4 +2184,4 @@ def process_document(document):
21842184

21852185
def test_4746():
21862186
archive = pymupdf.Archive('.')
2187-
archive.add('foo', __file__)
2187+
archive.add(__file__, 'foo')

0 commit comments

Comments
 (0)