Mercurial > hg
comparison Makefile @ 45474:6916e6b81fef
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).
author | Pulkit Goyal <7895pulkit@gmail.com> |
---|---|
date | Thu, 17 Sep 2020 15:47:19 +0530 |
parents | 1c8e3c17c702 |
children | e604a3c03ab9 |
comparison
equal
deleted
inserted
replaced
45473:5f0eeda2005d | 45474:6916e6b81fef |
---|