summaryrefslogtreecommitdiffstats
path: root/Lib
diff options
context:
space:
mode:
authorAntoine Pitrou <solipsis@pitrou.net>2013-11-22 21:26:01 (GMT)
committerAntoine Pitrou <solipsis@pitrou.net>2013-11-22 21:26:01 (GMT)
commit2dd38fb23894df578ae57f2ec12aaba7669b7f0d (patch)
treef2704669b0a2804fa987ae80932e3bbbcd3ca35f /Lib
parentb3931d21114d0a65803de111637e7bf634c2e12d (diff)
downloadcpython-2dd38fb23894df578ae57f2ec12aaba7669b7f0d.zip
cpython-2dd38fb23894df578ae57f2ec12aaba7669b7f0d.tar.gz
cpython-2dd38fb23894df578ae57f2ec12aaba7669b7f0d.tar.bz2
Issue #19718: add one more globbing test under POSIX
Diffstat (limited to 'Lib')
-rwxr-xr-xLib/test/test_pathlib.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/Lib/test/test_pathlib.py b/Lib/test/test_pathlib.py
index 751764f..01b1af6 100755
--- a/Lib/test/test_pathlib.py
+++ b/Lib/test/test_pathlib.py
@@ -1626,6 +1626,7 @@ class PosixPathTest(_BasePathTest, unittest.TestCase):
given = set(p.glob("FILEa"))
expect = set() if not support.fs_is_case_insensitive(BASE) else given
self.assertEqual(given, expect)
+ self.assertEqual(set(p.glob("FILEa*")), set())
def test_rglob(self):
P = self.cls
@@ -1633,6 +1634,7 @@ class PosixPathTest(_BasePathTest, unittest.TestCase):
given = set(p.rglob("FILEd"))
expect = set() if not support.fs_is_case_insensitive(BASE) else given
self.assertEqual(given, expect)
+ self.assertEqual(set(p.rglob("FILEd*")), set())
@only_nt