##// END OF EJS Templates
util: make new timedcmstats class Python 3 compatible
util: make new timedcmstats class Python 3 compatible

File last commit:

r37983:1d0610fd default
r38848:9d49bb11 default
Show More
test-demandimport.py.out
30 lines | 1.2 KiB | text/plain | TextLexer
/ tests / test-demandimport.py.out
Martin von Zweigbergk
tests: actually check that HGDEMANDIMPORT=disable disables demandimport...
r36255 node = <module 'mercurial.node' from '?'>
Martin von Zweigbergk
tests: avoid referring to pvec in demandimport test...
r36265 errorproxy = <unloaded module 'error'>
errorproxy.__doc__ = 'Mercurial exceptions. This ...'
errorproxy.__name__ = 'mercurial.error'
errorproxy.__dict__['__name__'] = 'mercurial.error'
errorproxy = <proxied module 'error'>
Martin Geisler
tests: renamed Python tests to .py
r8449 os = <unloaded module 'os'>
os.system = <built-in function system>
os = <module 'os' from '?'>
Matt Harbison
tests: migrate demandimport.py away from deprecated `util` module symbols
r37983 procutil = <unloaded module 'procutil'>
procutil.system = <function system at 0x?>
procutil = <module 'mercurial.utils.procutil' from '?'>
procutil.system = <function system at 0x?>
Bryan O'Sullivan
test-demandimport: ensure that relative imports are deferred...
r27535 hgweb = <unloaded module 'hgweb'>
hgweb_mod = <unloaded module 'hgweb_mod'>
hgweb = <module 'mercurial.hgweb' from '?'>
Martin Geisler
tests: renamed Python tests to .py
r8449 fred = <unloaded module 're'>
Yuya Nishihara
demandimport: look for 'mod' suffix as alternative name for module reference...
r32447 remod = <unloaded module 're'>
Martin Geisler
tests: renamed Python tests to .py
r8449 re = <unloaded module 'sys'>
fred = <unloaded module 're'>
fred.sub = <function sub at 0x?>
fred = <proxied module 're'>
Yuya Nishihara
demandimport: look for 'mod' suffix as alternative name for module reference...
r32447 remod = <module 're' from '?'>
Martin Geisler
tests: renamed Python tests to .py
r8449 re = <unloaded module 'sys'>
Dan Villiom Podlaski Christiansen
test-demandimport.py: PyPy support...
r13083 re.stderr = <open file '<whatever>', mode 'w' at 0x?>
Martin Geisler
tests: renamed Python tests to .py
r8449 re = <proxied module 'sys'>
Yuya Nishihara
demandimport: error out early on missing attribute of non package (issue5373)...
r30022 contextlib = <unloaded module 'contextlib'>
contextlib.unknownattr = ImportError: cannot import name unknownattr
Yuya Nishihara
demandimport: do not raise ImportError for unknown item in fromlist...
r30647 __import__('contextlib', ..., ['unknownattr']) = <module 'contextlib' from '?'>
hasattr(contextlibimp, 'unknownattr') = False