minor linter modifications

This commit is contained in:
Yann Collet 2016-05-25 10:58:11 +02:00
parent ebc13bc180
commit 0d0f7e4357

View File

@ -1,5 +1,5 @@
#!/usr/bin/env python3
"""Test zstd interoperability between versions"""
# Based on LZ4 version test script, by Takayuki Matsuoka
import filecmp
@ -92,8 +92,8 @@ def decompress_zst(tag):
except ImportError:
DEVNULL = open(os.devnull, 'wb')
for file_zst in list_zst:
print(file_zst, end=" ")
print(tag, end=" ")
print(file_zst, end=' ')
print(tag, end=' ')
file_dec = file_zst + '_d64_' + tag + '.dec'
if subprocess.call(['./zstd.' + tag, '-df', file_zst, '-o', file_dec], stderr=DEVNULL) == 0:
if not filecmp.cmp(file_dec, test_dat):