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

timeless timeless at gmail.com
Sun Apr 10 18:10:31 EDT 2016


The reason I did it is that I had a later commit that was adding to the list.

I think of it as "nice", because it means that later changes are only
charged for adding modules to the list instead of restructuring.

We're clearly not enforcing this yet (otherwise we'd have a test
pleading for it).

On Sun, Apr 10, 2016 at 6:08 PM, Pulkit Goyal <7895pulkit at gmail.com> wrote:
>> -from mercurial import wireproto
>> +from mercurial import (
>> +    wireproto,
>> +)
> Is it necessary to do so, because I was skipping single imports like this.
> _______________________________________________
> Mercurial-devel mailing list
> Mercurial-devel at mercurial-scm.org
> https://www.mercurial-scm.org/mailman/listinfo/mercurial-devel


More information about the Mercurial-devel mailing list