aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/Lib/test/test_pathlib.py
diff options
context:
space:
mode:
authorChristian Clauss <cclauss@me.com>2021-10-07 01:13:48 +0200
committerGitHub <noreply@github.com>2021-10-06 16:13:48 -0700
commit745c9d9dfc1ad6fdfdf1d07420c6273ff67fa5be (patch)
treecf25c5b8d353f69be8ba9b70963eabae044e4c76 /Lib/test/test_pathlib.py
parentdb693df3e112c5a61f2cbef63eedce3a36520ded (diff)
downloadcpython-745c9d9dfc1ad6fdfdf1d07420c6273ff67fa5be.tar.gz
cpython-745c9d9dfc1ad6fdfdf1d07420c6273ff67fa5be.zip
Fix typos in the Lib directory (GH-28775)
Fix typos in the Lib directory as identified by codespell. Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
Diffstat (limited to 'Lib/test/test_pathlib.py')
-rw-r--r--Lib/test/test_pathlib.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/test/test_pathlib.py b/Lib/test/test_pathlib.py
index e716f4d3859..5f6d9f47d13 100644
--- a/Lib/test/test_pathlib.py
+++ b/Lib/test/test_pathlib.py
@@ -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())