1
0
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:
Joseph Sutton
2023-06-13 10:34:39 +12:00
committed by Andrew Bartlett
parent 7818680531
commit b11ad8b137

View File

@@ -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,