From 2dd38fb23894df578ae57f2ec12aaba7669b7f0d Mon Sep 17 00:00:00 2001 From: Antoine Pitrou Date: Fri, 22 Nov 2013 22:26:01 +0100 Subject: [PATCH] Issue #19718: add one more globbing test under POSIX --- Lib/test/test_pathlib.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Lib/test/test_pathlib.py b/Lib/test/test_pathlib.py index 751764fbbee..01b1af66db1 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