Patchwork [4,of,4,v4] tests: guard demandimport segment of test-extension.t

login
register
mail settings
Submitter timeless
Date Aug. 25, 2016, 11:18 p.m.
Message ID <d9e54fa336087bb37172.1472167103@gcc2-power8.osuosl.org>
Download mbox | patch
Permalink /patch/16441/
State Accepted
Headers show

Comments

timeless - Aug. 25, 2016, 11:18 p.m.
# HG changeset patch
# User timeless <timeless@mozdev.org>
# Date 1472166816 0
#      Thu Aug 25 23:13:36 2016 +0000
# Node ID d9e54fa336087bb37172df18298c6ab415fbc580
# Parent  238d7a96b8652f4ee63946eb680303070ffebfbf
# Available At https://bitbucket.org/timeless/mercurial-crew
#              hg pull https://bitbucket.org/timeless/mercurial-crew -r d9e54fa33608
tests: guard demandimport segment of test-extension.t
Augie Fackler - Aug. 29, 2016, 2:10 p.m.
On Thu, Aug 25, 2016 at 11:18:23PM +0000, timeless wrote:
> # HG changeset patch
> # User timeless <timeless@mozdev.org>
> # Date 1472166816 0
> #      Thu Aug 25 23:13:36 2016 +0000
> # Node ID d9e54fa336087bb37172df18298c6ab415fbc580
> # Parent  238d7a96b8652f4ee63946eb680303070ffebfbf
> # Available At https://bitbucket.org/timeless/mercurial-crew
> #              hg pull https://bitbucket.org/timeless/mercurial-crew -r d9e54fa33608
> tests: guard demandimport segment of test-extension.t

These are queued, many thanks.

>
> diff -r 238d7a96b865 -r d9e54fa33608 tests/test-extension.t
> --- a/tests/test-extension.t	Thu Aug 25 22:03:51 2016 +0000
> +++ b/tests/test-extension.t	Thu Aug 25 23:13:36 2016 +0000
> @@ -249,7 +249,7 @@
>    $TESTTMP/a (glob)
>  #endif
>
> -#if absimport
> +#if demandimport absimport
>
>  Examine whether module loading is delayed until actual refering, even
>  though module is imported with "absolute_import" feature.
> _______________________________________________
> Mercurial-devel mailing list
> Mercurial-devel@mercurial-scm.org
> https://www.mercurial-scm.org/mailman/listinfo/mercurial-devel

Patch

diff -r 238d7a96b865 -r d9e54fa33608 tests/test-extension.t
--- a/tests/test-extension.t	Thu Aug 25 22:03:51 2016 +0000
+++ b/tests/test-extension.t	Thu Aug 25 23:13:36 2016 +0000
@@ -249,7 +249,7 @@ 
   $TESTTMP/a (glob)
 #endif
 
-#if absimport
+#if demandimport absimport
 
 Examine whether module loading is delayed until actual refering, even
 though module is imported with "absolute_import" feature.