Show More
@@ -316,7 +316,7 b' class DifferenceMatcherTests(unittest.Te' | |||||
316 |
|
316 | |||
317 | # We're using includematcher instead of patterns because it behaves slightly |
|
317 | # We're using includematcher instead of patterns because it behaves slightly | |
318 | # better (giving narrower results) than patternmatcher. |
|
318 | # better (giving narrower results) than patternmatcher. | |
319 |
def testVisitdirIncludeInclud |
|
319 | def testVisitdirIncludeInclude(self): | |
320 | m1 = matchmod.match(b'', b'', include=[b'path:dir/subdir']) |
|
320 | m1 = matchmod.match(b'', b'', include=[b'path:dir/subdir']) | |
321 | m2 = matchmod.match(b'', b'', include=[b'rootfilesin:dir']) |
|
321 | m2 = matchmod.match(b'', b'', include=[b'rootfilesin:dir']) | |
322 | dm = matchmod.differencematcher(m1, m2) |
|
322 | dm = matchmod.differencematcher(m1, m2) | |
@@ -430,7 +430,7 b' class IntersectionMatcherTests(unittest.' | |||||
430 |
|
430 | |||
431 | # We're using includematcher instead of patterns because it behaves slightly |
|
431 | # We're using includematcher instead of patterns because it behaves slightly | |
432 | # better (giving narrower results) than patternmatcher. |
|
432 | # better (giving narrower results) than patternmatcher. | |
433 |
def testVisitdirIncludeInclud |
|
433 | def testVisitdirIncludeInclude(self): | |
434 | m1 = matchmod.match(b'', b'', include=[b'path:dir/subdir']) |
|
434 | m1 = matchmod.match(b'', b'', include=[b'path:dir/subdir']) | |
435 | m2 = matchmod.match(b'', b'', include=[b'rootfilesin:dir']) |
|
435 | m2 = matchmod.match(b'', b'', include=[b'rootfilesin:dir']) | |
436 | im = matchmod.intersectmatchers(m1, m2) |
|
436 | im = matchmod.intersectmatchers(m1, m2) | |
@@ -644,7 +644,7 b' class UnionMatcherTests(unittest.TestCas' | |||||
644 |
|
644 | |||
645 | # We're using includematcher instead of patterns because it behaves slightly |
|
645 | # We're using includematcher instead of patterns because it behaves slightly | |
646 | # better (giving narrower results) than patternmatcher. |
|
646 | # better (giving narrower results) than patternmatcher. | |
647 |
def testVisitdirIncludeInclud |
|
647 | def testVisitdirIncludeInclude(self): | |
648 | m1 = matchmod.match(b'', b'', include=[b'path:dir/subdir']) |
|
648 | m1 = matchmod.match(b'', b'', include=[b'path:dir/subdir']) | |
649 | m2 = matchmod.match(b'', b'', include=[b'rootfilesin:dir']) |
|
649 | m2 = matchmod.match(b'', b'', include=[b'rootfilesin:dir']) | |
650 | um = matchmod.unionmatcher([m1, m2]) |
|
650 | um = matchmod.unionmatcher([m1, m2]) |
General Comments 0
You need to be logged in to leave comments.
Login now