MCPcopy Index your code
hub / github.com/python/cpython / test_glob_nested_directory

Method test_glob_nested_directory

Lib/test/test_glob.py:151–160  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

149 eq(self.glob('*q'), [])
150
151 def test_glob_nested_directory(self):
152 eq = self.assertSequencesEqual_noorder
153 if os.path.normcase("abCD") == "abCD":
154 # case-sensitive filesystem
155 eq(self.glob('a', 'bcd', 'E*'), [self.norm('a', 'bcd', 'EF')])
156 else:
157 # case insensitive filesystem
158 eq(self.glob('a', 'bcd', 'E*'), [self.norm('a', 'bcd', 'EF'),
159 self.norm('a', 'bcd', 'efg')])
160 eq(self.glob('a', 'bcd', '*g'), [self.norm('a', 'bcd', 'efg')])
161
162 def test_glob_directory_names(self):
163 eq = self.assertSequencesEqual_noorder

Callers

nothing calls this directly

Calls 4

globMethod · 0.95
normMethod · 0.95
eqFunction · 0.85
normcaseMethod · 0.80

Tested by

no test coverage detected