summaryrefslogtreecommitdiff
path: root/Lib/test/test_tempfile.py
diff options
context:
space:
mode:
authorChristian Clauss <cclauss@me.com>2021-10-07 17:49:47 +0200
committerGitHub <noreply@github.com>2021-10-07 11:49:47 -0400
commitcfca4a67745cb9ed040fade3fd54f5002a6e75a6 (patch)
treedb352adfb835d8b392b2257e12a9b481b1a8bf12 /Lib/test/test_tempfile.py
parent03bf55d8cf563ccdee2ec61c5c734c59b5d94ba4 (diff)
downloadcpython-git-cfca4a67745cb9ed040fade3fd54f5002a6e75a6.tar.gz
[3.10] Fix typos in the Lib directory (GH-28775) (GH-28804)
Fix typos in the Lib directory as identified by codespell. Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>. (cherry picked from commit 745c9d9dfc1ad6fdfdf1d07420c6273ff67fa5be) Co-authored-by: Christian Clauss <cclauss@me.com>
Diffstat (limited to 'Lib/test/test_tempfile.py')
-rw-r--r--Lib/test/test_tempfile.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/Lib/test/test_tempfile.py b/Lib/test/test_tempfile.py
index f1d483733e..96946a281a 100644
--- a/Lib/test/test_tempfile.py
+++ b/Lib/test/test_tempfile.py
@@ -1435,7 +1435,7 @@ class TestTemporaryDirectory(BaseTestCase):
self.assertEqual(
temp_path.exists(),
sys.platform.startswith("win"),
- f"TemporaryDirectory {temp_path!s} existance state unexpected")
+ f"TemporaryDirectory {temp_path!s} existence state unexpected")
temp_dir.cleanup()
self.assertFalse(
temp_path.exists(),
@@ -1494,7 +1494,7 @@ class TestTemporaryDirectory(BaseTestCase):
self.assertEqual(
temp_path.exists(),
sys.platform.startswith("win"),
- f"TemporaryDirectory {temp_path!s} existance state unexpected")
+ f"TemporaryDirectory {temp_path!s} existence state unexpected")
def test_del_on_shutdown(self):
# A TemporaryDirectory may be cleaned up during shutdown
@@ -1559,7 +1559,7 @@ class TestTemporaryDirectory(BaseTestCase):
self.assertEqual(
temp_path.exists(),
sys.platform.startswith("win"),
- f"TemporaryDirectory {temp_path!s} existance state unexpected")
+ f"TemporaryDirectory {temp_path!s} existence state unexpected")
err = err.decode('utf-8', 'backslashreplace')
self.assertNotIn("Exception", err)
self.assertNotIn("Error", err)