Skip to content

Commit e21fd93

Browse files
committed
test add_file_from_memory with empty bytestring
1 parent 364c77b commit e21fd93

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/test_rwx.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ def test_write_not_fail(write_fail_mock):
121121
@pytest.mark.parametrize(
122122
'archfmt,data_bytes',
123123
[('zip', b'content'),
124-
('gnutar', 'a_string'.encode()),
124+
('gnutar', b''),
125125
('pax', json.dumps({'a': 1, 'b': 2, 'c': 3}).encode())])
126126
def test_adding_entry_from_memory(archfmt, data_bytes):
127127
entry_path = 'testfile.data'

0 commit comments

Comments
 (0)