mirror of
https://github.com/samba-team/samba.git
synced 2025-12-24 04:23:53 +03:00
python:tests: Fix typos
Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
This commit is contained in:
committed by
Andrew Bartlett
parent
7818680531
commit
b11ad8b137
@@ -43,7 +43,7 @@ class SafeTarFileTestCase(TestCaseInTempDir):
|
||||
|
||||
stf = safe_tarfile.open(tarname)
|
||||
|
||||
# We we have data_filter, we have a patched python to address
|
||||
# If we have data_filter, we have a patched python to address
|
||||
# CVE-2007-4559.
|
||||
if hasattr(tarfile, "data_filter"):
|
||||
self.assertRaises(tarfile.OutsideDestinationError,
|
||||
@@ -68,7 +68,7 @@ class SafeTarFileTestCase(TestCaseInTempDir):
|
||||
|
||||
stf = safe_tarfile.open(tarname)
|
||||
|
||||
# We we have data_filter, we have a patched python to address
|
||||
# If we have data_filter, we have a patched python to address
|
||||
# CVE-2007-4559.
|
||||
if hasattr(tarfile, "data_filter"):
|
||||
self.assertRaises(NotADirectoryError,
|
||||
|
||||
Reference in New Issue
Block a user