##// END OF EJS Templates
test: cleanly skip test-remotefilelog-datapack.py on policy that breaks it...
marmoute -
r44947:dca4b5da stable
parent child Browse files
Show More
@@ -17,6 +17,14 b' import silenttestrunner'
17 # Load the local remotefilelog, not the system one
17 # Load the local remotefilelog, not the system one
18 sys.path[0:0] = [os.path.join(os.path.dirname(__file__), '..')]
18 sys.path[0:0] = [os.path.join(os.path.dirname(__file__), '..')]
19 from mercurial.node import nullid
19 from mercurial.node import nullid
20 from mercurial import policy
21
22 if not policy._packageprefs.get(policy.policy, (False, False))[1]:
23 if __name__ == '__main__':
24 msg = "skipped: pure module not available with module policy:"
25 print(msg, policy.policy, file=sys.stderr)
26 sys.exit(80)
27
20 from mercurial import (
28 from mercurial import (
21 pycompat,
29 pycompat,
22 ui as uimod,
30 ui as uimod,
General Comments 0
You need to be logged in to leave comments. Login now