mirror of
https://github.com/python/cpython.git
synced 2025-07-31 23:23:11 +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
|
@ -324,7 +324,7 @@ class _BasePurePathTest(object):
|
|||
self.assertFalse(P('b/py').match('b.py'))
|
||||
self.assertFalse(P('/a.py').match('b.py'))
|
||||
self.assertFalse(P('b.py/c').match('b.py'))
|
||||
# Wilcard relative pattern.
|
||||
# Wildcard relative pattern.
|
||||
self.assertTrue(P('b.py').match('*.py'))
|
||||
self.assertTrue(P('a/b.py').match('*.py'))
|
||||
self.assertTrue(P('/a/b.py').match('*.py'))
|
||||
|
@ -1284,7 +1284,7 @@ class PureWindowsPathTest(_BasePurePathTest, unittest.TestCase):
|
|||
self.assertIs(False, P('/foo/bar').is_reserved())
|
||||
# UNC paths are never reserved.
|
||||
self.assertIs(False, P('//my/share/nul/con/aux').is_reserved())
|
||||
# Case-insenstive DOS-device names are reserved.
|
||||
# Case-insensitive DOS-device names are reserved.
|
||||
self.assertIs(True, P('nul').is_reserved())
|
||||
self.assertIs(True, P('aux').is_reserved())
|
||||
self.assertIs(True, P('prn').is_reserved())
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue