tests: move baduisetup() test out of "#if demandimport"
authorMartin von Zweigbergk <martinvonz@google.com>
Tue, 17 Oct 2017 10:25:32 -0700
changeset 34844 f0a62afd1e40
parent 34843 df871c41bd00
child 34845 78d9a7b7cdb6
tests: move baduisetup() test out of "#if demandimport" It no longer depends on demandimport. Differential Revision: https://phab.mercurial-scm.org/D1163
tests/test-extension.t
--- a/tests/test-extension.t	Tue Oct 17 09:46:31 2017 -0700
+++ b/tests/test-extension.t	Tue Oct 17 10:25:32 2017 -0700
@@ -514,6 +514,8 @@
 
   $ (PYTHONPATH=${PYTHONPATH}${PATHSEP}${TESTTMP}; hg --config extensions.checkrelativity=$TESTTMP/checkrelativity.py checkrelativity)
 
+#endif
+
 Make sure a broken uisetup doesn't globally break hg:
   $ cat > $TESTTMP/baduisetup.py <<EOF
   > def uisetup(ui):
@@ -545,8 +547,6 @@
   This is free software; see the source for copying conditions. There is NO
   warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
 
-#endif
-
   $ cd ..
 
 hide outer repo