# HG changeset patch # User Martin von Zweigbergk # Date 2017-10-17 17:25:32 # Node ID f0a62afd1e40b2309b56a60986066f7bb23c6a99 # Parent df871c41bd00d9232c142a1a95e20a299c8cd36e tests: move baduisetup() test out of "#if demandimport" It no longer depends on demandimport. Differential Revision: https://phab.mercurial-scm.org/D1163 diff --git a/tests/test-extension.t b/tests/test-extension.t --- a/tests/test-extension.t +++ b/tests/test-extension.t @@ -514,6 +514,8 @@ See also issue5208 for detail about exam $ (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 < def uisetup(ui): @@ -545,8 +547,6 @@ Even though the extension fails during u 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