Mercurial > hg
comparison tests/test-wireproto.py @ 28860:50d11dd8ac02
py3: use multi-line import in test-wireproto.py
The reason I did it is that I had a later commit that was adding to the list.
author | timeless <timeless@mozdev.org> |
---|---|
date | Sun, 10 Apr 2016 21:32:08 +0000 |
parents | fcafd84bc9c5 |
children | 86db5cb55d46 |
comparison
equal
deleted
inserted
replaced
28859:af2e00c85d0a | 28860:50d11dd8ac02 |
---|---|
1 from __future__ import absolute_import, print_function | 1 from __future__ import absolute_import, print_function |
2 | 2 |
3 import StringIO | 3 import StringIO |
4 | 4 from mercurial import ( |
5 from mercurial import wireproto | 5 wireproto, |
6 ) | |
6 | 7 |
7 class proto(object): | 8 class proto(object): |
8 def __init__(self, args): | 9 def __init__(self, args): |
9 self.args = args | 10 self.args = args |
10 def getargs(self, spec): | 11 def getargs(self, spec): |