##// END OF EJS Templates
tests: update test-requires to pass our import checker
Augie Fackler -
r33987:68bc85f4 default
parent child Browse files
Show More
@@ -32,7 +32,8 b' another repository of push/pull/clone on'
32
32
33 $ echo 'featuresetup-test' >> supported/.hg/requires
33 $ echo 'featuresetup-test' >> supported/.hg/requires
34 $ cat > $TESTTMP/supported-locally/supportlocally.py <<EOF
34 $ cat > $TESTTMP/supported-locally/supportlocally.py <<EOF
35 > from mercurial import localrepo, extensions
35 > from __future__ import absolute_import
36 > from mercurial import extensions, localrepo
36 > def featuresetup(ui, supported):
37 > def featuresetup(ui, supported):
37 > for name, module in extensions.extensions(ui):
38 > for name, module in extensions.extensions(ui):
38 > if __name__ == module.__name__:
39 > if __name__ == module.__name__:
General Comments 0
You need to be logged in to leave comments. Login now