tests/test-manifest.py
changeset 46780 6266d19556ad
parent 45942 89a2afe31e82
child 47043 12450fbea288
--- a/tests/test-manifest.py	Wed Mar 10 18:09:21 2021 +0100
+++ b/tests/test-manifest.py	Wed Jan 13 16:14:58 2021 +0100
@@ -6,6 +6,8 @@
 import unittest
 import zlib
 
+from mercurial.node import sha1nodeconstants
+
 from mercurial import (
     manifest as manifestmod,
     match as matchmod,
@@ -436,7 +438,7 @@
 
 class testtreemanifest(unittest.TestCase, basemanifesttests):
     def parsemanifest(self, text):
-        return manifestmod.treemanifest(b'', text)
+        return manifestmod.treemanifest(sha1nodeconstants, b'', text)
 
     def testWalkSubtrees(self):
         m = self.parsemanifest(A_DEEPER_MANIFEST)