summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJakobDev <jakobdev@gmx.de>2023-04-09 08:13:40 (GMT)
committerGitHub <noreply@github.com>2023-04-09 08:13:40 (GMT)
commitd9305f8e9d3e0f6267286c2da4b24e97b7a569f2 (patch)
tree9f6015bbe805474af10da420e77bf73985031d71
parent5d4afc45b9567d227ea9a9988d58404662fce58c (diff)
downloadcpython-d9305f8e9d3e0f6267286c2da4b24e97b7a569f2.zip
cpython-d9305f8e9d3e0f6267286c2da4b24e97b7a569f2.tar.gz
cpython-d9305f8e9d3e0f6267286c2da4b24e97b7a569f2.tar.bz2
Fix typos in test_tempfile.py (#102841)
-rw-r--r--Lib/test/test_tempfile.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/test/test_tempfile.py b/Lib/test/test_tempfile.py
index 9015548..11a43ac 100644
--- a/Lib/test/test_tempfile.py
+++ b/Lib/test/test_tempfile.py
@@ -1016,7 +1016,7 @@ class TestNamedTemporaryFile(BaseTestCase):
self.assertRaises(ValueError, use_closed)
def test_context_man_not_del_on_close_if_delete_on_close_false(self):
- # Issue gh-58451: tempfile.NamedTemporaryFile is not particulary useful
+ # Issue gh-58451: tempfile.NamedTemporaryFile is not particularly useful
# on Windows
# A NamedTemporaryFile is NOT deleted when closed if
# delete_on_close=False, but is deleted on context manager exit
@@ -1608,7 +1608,7 @@ class TestTemporaryDirectory(BaseTestCase):
finally:
os.rmdir(dir)
- def test_explict_cleanup_ignore_errors(self):
+ def test_explicit_cleanup_ignore_errors(self):
"""Test that cleanup doesn't return an error when ignoring them."""
with tempfile.TemporaryDirectory() as working_dir:
temp_dir = self.do_create(