We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3e15824 commit bbe7cc7Copy full SHA for bbe7cc7
tests/unit/test_utils_unpacking.py
@@ -334,7 +334,8 @@ def test_unpack_evil_tar_link2_no_data_filter(
334
untar_file(tar_filepath, extract_path)
335
336
assert "trying to install outside target directory" in str(e.value)
337
- assert ".." + os.sep + import_filename in str(e.value)
+ assert ".." in str(e.value)
338
+ assert import_filename in str(e.value)
339
340
assert not os.path.exists(os.path.join(extract_path, "evil_symlink"))
341
0 commit comments