Mercurial > hg
comparison tests/test-bdiff.py @ 28733:2e54aaa65afc
py3: use absolute_import in test-bdiff.py
author | Robert Stanca <robert.stanca7@gmail.com> |
---|---|
date | Sun, 03 Apr 2016 06:12:18 +0300 |
parents | eeac5e179243 |
children | 4e51f9d1683e |
comparison
equal
deleted
inserted
replaced
28732:e2b118592c63 | 28733:2e54aaa65afc |
---|---|
1 from __future__ import absolute_import | |
1 import struct | 2 import struct |
2 from mercurial import bdiff, mpatch | 3 from mercurial import ( |
4 bdiff, | |
5 mpatch, | |
6 ) | |
3 | 7 |
4 def test1(a, b): | 8 def test1(a, b): |
5 d = bdiff.bdiff(a, b) | 9 d = bdiff.bdiff(a, b) |
6 c = a | 10 c = a |
7 if d: | 11 if d: |