Skip to content

Commit

Permalink
Fix typos in test_tempfile.py (#102841)
Browse files Browse the repository at this point in the history
  • Loading branch information
JakobDev authored Apr 9, 2023
1 parent 5d4afc4 commit d9305f8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Lib/test/test_tempfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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(
Expand Down

0 comments on commit d9305f8

Please sign in to comment.