[diffoscope] 02/05: Tidy imports
Chris Lamb
chris at chris-lamb.co.uk
Fri Apr 21 14:28:57 CEST 2017
This is an automated email from the git hooks/post-receive script.
lamby pushed a commit to branch experimental
in repository diffoscope.
commit 9fa674eca8dfcd70f745217d88692bcdc90d7795
Author: Chris Lamb <lamby at debian.org>
Date: Fri Apr 21 13:22:22 2017 +0100
Tidy imports
Gbp-Dch: ignore
---
diffoscope/comparators/rdata.py | 2 +-
tests/comparators/test_rdata.py | 6 +-----
2 files changed, 2 insertions(+), 6 deletions(-)
diff --git a/diffoscope/comparators/rdata.py b/diffoscope/comparators/rdata.py
index 8e7ba33..2bedaa8 100644
--- a/diffoscope/comparators/rdata.py
+++ b/diffoscope/comparators/rdata.py
@@ -23,9 +23,9 @@ from diffoscope.difference import Difference
from .utils.file import File
from .utils.command import Command
-import binascii
import shutil
import os.path
+import binascii
HEADER = binascii.a2b_hex("580a000000020003")
diff --git a/tests/comparators/test_rdata.py b/tests/comparators/test_rdata.py
index fa6fac0..a147c4c 100644
--- a/tests/comparators/test_rdata.py
+++ b/tests/comparators/test_rdata.py
@@ -18,19 +18,15 @@
# along with diffoscope. If not, see <https://www.gnu.org/licenses/>.
import pytest
-import subprocess
-from diffoscope.comparators.rdata import RdsFile
from diffoscope.comparators.gzip import GzipFile
from utils import diff_ignore_line_numbers
from utils.data import load_fixture, get_data
-from utils.tools import skip_unless_tools_exist, skip_unless_tool_is_at_least, \
- skip_if_binutils_does_not_support_x86
+from utils.tools import skip_unless_tools_exist
from utils.nonexisting import assert_non_existing
-
file1 = load_fixture('test1.rdx')
file2 = load_fixture('test2.rdx')
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/reproducible/diffoscope.git
More information about the diffoscope
mailing list