##// END OF EJS Templates
tests: fix a typo in test-demandimport.t...
av6 -
r50834:32155ea1 stable
parent child Browse files
Show More
@@ -82,8 +82,7 b" assert 'mercurial.error' not in sys.modu"
82 from mercurial import error as errorproxy
82 from mercurial import error as errorproxy
83
83
84 if ispy3:
84 if ispy3:
85 # unsure why this isn't lazy.
85 assert isinstance(errorproxy, _LazyModule)
86 assert not isinstance(f, _LazyModule)
87 assert f(errorproxy) == "<module 'mercurial.error' from '?'>", f(errorproxy)
86 assert f(errorproxy) == "<module 'mercurial.error' from '?'>", f(errorproxy)
88 else:
87 else:
89 assert f(errorproxy) == "<unloaded module 'error'>", f(errorproxy)
88 assert f(errorproxy) == "<unloaded module 'error'>", f(errorproxy)
General Comments 0
You need to be logged in to leave comments. Login now