##// END OF EJS Templates
test-demandimport: ensure that relative imports are deferred...
Bryan O'Sullivan -
r27535:0d0f4070 default
parent child Browse files
Show More
@@ -34,6 +34,11 b' print "util.system =", f(util.system)'
34 print "util =", f(util)
34 print "util =", f(util)
35 print "util.system =", f(util.system)
35 print "util.system =", f(util.system)
36
36
37 from mercurial import hgweb
38 print "hgweb =", f(hgweb)
39 print "hgweb_mod =", f(hgweb.hgweb_mod)
40 print "hgweb =", f(hgweb)
41
37 import re as fred
42 import re as fred
38 print "fred =", f(fred)
43 print "fred =", f(fred)
39
44
@@ -5,6 +5,9 b" 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'>
General Comments 0
You need to be logged in to leave comments. Login now