mirror of
https://github.com/python/cpython.git
synced 2025-08-22 09:45:06 +00:00
[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 745c9d9dfc
)
Co-authored-by: Christian Clauss <cclauss@me.com>
This commit is contained in:
parent
03bf55d8cf
commit
cfca4a6774
62 changed files with 79 additions and 79 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue