[Python-checkins] Fix typos in test_tempfile.py (#102841)
kumaraditya303
webhook-mailer at python.org
Sun Apr 9 04:13:47 EDT 2023
https://github.com/python/cpython/commit/d9305f8e9d3e0f6267286c2da4b24e97b7a569f2
commit: d9305f8e9d3e0f6267286c2da4b24e97b7a569f2
branch: main
author: JakobDev <jakobdev at gmx.de>
committer: kumaraditya303 <59607654+kumaraditya303 at users.noreply.github.com>
date: 2023-04-09T13:43:40+05:30
summary:
Fix typos in test_tempfile.py (#102841)
files:
M Lib/test/test_tempfile.py
diff --git a/Lib/test/test_tempfile.py b/Lib/test/test_tempfile.py
index 90155487cff5..11a43aca17e8 100644
--- a/Lib/test/test_tempfile.py
+++ b/Lib/test/test_tempfile.py
@@ -1016,7 +1016,7 @@ def use_closed():
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 @@ def test_explicit_cleanup(self):
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(
More information about the Python-checkins
mailing list