diff -r 74f53d3bd685 -r 0dc3ed4e712c tests/test-manifest.py --- a/tests/test-manifest.py Wed Feb 06 22:52:49 2019 -0800 +++ b/tests/test-manifest.py Fri Feb 08 23:03:42 2019 -0800 @@ -289,8 +289,8 @@ the resulting manifest.''' m = self.parsemanifest(A_HUGE_MANIFEST) - match = matchmod.match(b'/', b'', - [b'file1', b'file200', b'file300'], exact=True) + match = matchmod.exact(b'/', b'', + [b'file1', b'file200', b'file300']) m2 = m.matches(match) w = (b'file1\0%sx\n' @@ -304,10 +304,9 @@ ''' m = self.parsemanifest(A_DEEPER_MANIFEST) - match = matchmod.match(b'/', b'', + match = matchmod.exact(b'/', b'', [b'a/b/c/bar.txt', b'a/b/d/qux.py', - b'readme.txt', b'nonexistent'], - exact=True) + b'readme.txt', b'nonexistent']) m2 = m.matches(match) self.assertEqual( @@ -330,7 +329,7 @@ m = self.parsemanifest(A_HUGE_MANIFEST) flist = m.keys()[80:300] - match = matchmod.match(b'/', b'', flist, exact=True) + match = matchmod.exact(b'/', b'', flist) m2 = m.matches(match) self.assertEqual(flist, m2.keys()) @@ -364,7 +363,7 @@ against a directory.''' m = self.parsemanifest(A_DEEPER_MANIFEST) - match = matchmod.match(b'/', b'', [b'a/b'], exact=True) + match = matchmod.exact(b'/', b'', [b'a/b']) m2 = m.matches(match) self.assertEqual([], m2.keys())