[PATCH 4 of 5] py3: use absolute_import in test-wireproto.py

Yuya Nishihara yuya at tcha.org
Mon Apr 11 10:43:10 EDT 2016


On Sun, 10 Apr 2016 16:57:37 -0500, timeless wrote:
> # HG changeset patch
> # User timeless <timeless at mozdev.org>
> # Date 1460323928 0
> #      Sun Apr 10 21:32:08 2016 +0000
> # Node ID 4b0632dccc1c8b346bfff5689aa75ed06a265c21
> # Parent  90c4f3e3c85747e09aa7edaedb11c7e556cc8def
> py3: use absolute_import in test-wireproto.py

Rephrased as "use multi-line import" and queued, thanks.

> --- a/tests/test-wireproto.py
> +++ b/tests/test-wireproto.py
> @@ -1,8 +1,9 @@
>  from __future__ import absolute_import, print_function
>  
>  import StringIO
> -
> -from mercurial import wireproto
> +from mercurial import (
> +    wireproto,
> +)


More information about the Mercurial-devel mailing list