D4995: tests: disable one check on Python 3

Yuya Nishihara yuya at tcha.org
Sun Oct 14 00:45:16 EDT 2018


>   I'm pretty confident this is caused by differences in Python 3's
>   demandimporter wherein it'll notice nonexistent modules earlier than
>   Python 2. As a result, let's just disable this check on Python 3.
>   
>   The test now passes on Python 3.

The test passes on my Python 3.6.7rc1 (Debian sid) without no-py3k, and I
think it is the test written for Py3.

> +#if demandimport no-py3k
> +
>  See also issue5208 for detail about example case on Python 3.x.


More information about the Mercurial-devel mailing list