comparison tests/test-demandimport.py.out @ 27535:0d0f4070f6d7

test-demandimport: ensure that relative imports are deferred This adds a test not just at our local "top level" (the mercurial package), but also one level deeper (mercurial.hgweb).
author Bryan O'Sullivan <bos@serpentine.com>
date Wed, 23 Dec 2015 16:22:20 -0800
parents 54af51c18c4c
children 26a4e46af2bc
comparison
equal deleted inserted replaced
27534:88b32dcc25b6 27535:0d0f4070f6d7
3 os = <module 'os' from '?'> 3 os = <module 'os' from '?'>
4 util = <unloaded module 'util'> 4 util = <unloaded module 'util'>
5 util.system = <function system at 0x?> 5 util.system = <function system at 0x?>
6 util = <module 'mercurial.util' from '?'> 6 util = <module 'mercurial.util' from '?'>
7 util.system = <function system at 0x?> 7 util.system = <function system at 0x?>
8 hgweb = <unloaded module 'hgweb'>
9 hgweb_mod = <unloaded module 'hgweb_mod'>
10 hgweb = <module 'mercurial.hgweb' from '?'>
8 fred = <unloaded module 're'> 11 fred = <unloaded module 're'>
9 re = <unloaded module 'sys'> 12 re = <unloaded module 'sys'>
10 fred = <unloaded module 're'> 13 fred = <unloaded module 're'>
11 fred.sub = <function sub at 0x?> 14 fred.sub = <function sub at 0x?>
12 fred = <proxied module 're'> 15 fred = <proxied module 're'>