HomePhabricator

tests: run test-check-py3-compat only in pure python mode

Authored by pulkit.

Description

tests: run test-check-py3-compat only in pure python mode

This test was added few years ago to detect syntax and import related warnings
and kickstart the python-3 porting efforts. It tries to parse the ast and import
the module.

When using in strict modes like HGMODULEPOLICY=rust or HGMODULEPOLICY=c, the
test fails. Let's run the test only on pure python mode.

We now have full test suite being run with python 3 and some people even use hg
with python 3 in production (like me).

Details

Committed
pulkitSep 17 2020, 6:17 AM
Parents
rHG5f0eeda2005d: log: make -frREV PATH detect missing files before falling back to slow path
Branches
Unknown
Tags
Unknown