tests/test-check-module-imports.t
changeset 28844 99a2bdad0fda
parent 28330 f3fb24e36d61
child 28923 531dea16f4f7
equal deleted inserted replaced
28843:2c7e6f363138 28844:99a2bdad0fda
   139 doesn't overlap with a stdlib module name. There are also some cycles
   139 doesn't overlap with a stdlib module name. There are also some cycles
   140 here that we should still endeavor to fix, and some cycles will be
   140 here that we should still endeavor to fix, and some cycles will be
   141 hidden by deduplication algorithm in the cycle detector, so fixing
   141 hidden by deduplication algorithm in the cycle detector, so fixing
   142 these may expose other cycles.
   142 these may expose other cycles.
   143 
   143 
   144   $ hg locate 'mercurial/**.py' 'hgext/**.py' | sed 's-\\-/-g' | python "$import_checker" -
   144 Known-bad files are excluded by -X as some of them would produce unstable
       
   145 outputs, which should be fixed later.
       
   146 
       
   147   $ hg locate 'mercurial/**.py' 'hgext/**.py' 'tests/**.py' \
       
   148   > -X tests/test-hgweb-auth.py \
       
   149   > -X tests/hypothesishelpers.py \
       
   150   > -X tests/test-ctxmanager.py \
       
   151   > -X tests/test-lock.py \
       
   152   > -X tests/test-verify-repo-operations.py \
       
   153   > | sed 's-\\-/-g' | python "$import_checker" -
   145   Import cycle: hgext.largefiles.basestore -> hgext.largefiles.localstore -> hgext.largefiles.basestore
   154   Import cycle: hgext.largefiles.basestore -> hgext.largefiles.localstore -> hgext.largefiles.basestore
   146   [1]
   155   [1]