~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/test_globbing.py

(gz) Fix test failure on alpha by correcting format string for
 gc_chk_sha1_record (Martin [gz])

Show diffs side-by-side

added added

removed removed

Lines of Context:
37
37
                glob = glob_prefix + glob
38
38
            globster = Globster([glob])
39
39
            for name in positive:
40
 
                self.assertTrue(globster.match(name), repr(
 
40
                self.failUnless(globster.match(name), repr(
41
41
                    u'name "%s" does not match glob "%s" (re=%s)' %
42
42
                    (name, glob, globster._regex_patterns[0][0].pattern)))
43
43
            for name in negative:
44
 
                self.assertFalse(globster.match(name), repr(
 
44
                self.failIf(globster.match(name), repr(
45
45
                    u'name "%s" does match glob "%s" (re=%s)' %
46
46
                    (name, glob, globster._regex_patterns[0][0].pattern)))
47
47