[PATCH v3] tests: fix builtin module test on pypy

Pierre-Yves David pierre-yves.david at ens-lyon.org
Wed Mar 30 17:03:25 EDT 2016



On 03/30/2016 12:54 PM, Maciej Fijalkowski wrote:
> # HG changeset patch
> # User Maciej Fijalkowski <fijall at gmail.com>
> # Date 1459367666 -7200
> #      Wed Mar 30 21:54:26 2016 +0200
> # Node ID 84be092f00583806823976cd1334730d89936223
> # Parent  ff0d3b6b287f89594bd8d0308fe2810d2a18ea01
> tests: fix builtin module test on pypy
>
> On pypy datetime and cProfile are modules written in Python, not in C.
> For the purpose of this test, just list them explicitely as builtins,
> which silences warnings about them being imported before stdlib modules.

Where should I look to see a test fixed by that? I might be missing 
something but I cannot see a test turning green with pypy after applying 
this patch.

-- 
Pierre-Yves David


More information about the Mercurial-devel mailing list