Skip to content

Commit d9305f8

Browse files
authored
Fix typos in test_tempfile.py (python#102841)
1 parent 5d4afc4 commit d9305f8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Lib/test/test_tempfile.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1016,7 +1016,7 @@ def use_closed():
10161016
self.assertRaises(ValueError, use_closed)
10171017

10181018
def test_context_man_not_del_on_close_if_delete_on_close_false(self):
1019-
# Issue gh-58451: tempfile.NamedTemporaryFile is not particulary useful
1019+
# Issue gh-58451: tempfile.NamedTemporaryFile is not particularly useful
10201020
# on Windows
10211021
# A NamedTemporaryFile is NOT deleted when closed if
10221022
# delete_on_close=False, but is deleted on context manager exit
@@ -1608,7 +1608,7 @@ def test_explicit_cleanup(self):
16081608
finally:
16091609
os.rmdir(dir)
16101610

1611-
def test_explict_cleanup_ignore_errors(self):
1611+
def test_explicit_cleanup_ignore_errors(self):
16121612
"""Test that cleanup doesn't return an error when ignoring them."""
16131613
with tempfile.TemporaryDirectory() as working_dir:
16141614
temp_dir = self.do_create(

0 commit comments

Comments
 (0)