# HG changeset patch # User Anton Shestakov # Date 2023-01-10 13:35:53 # Node ID 32155ea1e930e8f6a83171ecdb3aaa73e9058279 # Parent 643312047e44f36be60f7874925a3415d19770de tests: fix a typo in test-demandimport.t I guess we figured out why it wasn't lazy. diff --git a/tests/test-demandimport.py b/tests/test-demandimport.py --- a/tests/test-demandimport.py +++ b/tests/test-demandimport.py @@ -82,8 +82,7 @@ assert 'mercurial.error' not in sys.modu from mercurial import error as errorproxy if ispy3: - # unsure why this isn't lazy. - assert not isinstance(f, _LazyModule) + assert isinstance(errorproxy, _LazyModule) assert f(errorproxy) == "", f(errorproxy) else: assert f(errorproxy) == "", f(errorproxy)