mirror of
https://github.com/python/cpython.git
synced 2025-08-04 00:48:58 +00:00
Issue #19718: add one more globbing test under POSIX
This commit is contained in:
parent
b3931d2111
commit
2dd38fb238
1 changed files with 2 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue