pylint, pep8 work.
This commit is contained in:
parent
08ff86e4a2
commit
5edbe6f078
7 changed files with 8 additions and 7 deletions
|
|
@ -1308,7 +1308,7 @@ class QCCsegment(Segment):
|
|||
self.offset = offset
|
||||
|
||||
self.mantissa, self.exponent = parse_quantization(self.spqcc,
|
||||
self.sqcc)
|
||||
self.sqcc)
|
||||
self.guard_bits = (self.sqcc & 0xe0) >> 5
|
||||
|
||||
def __str__(self):
|
||||
|
|
|
|||
|
|
@ -441,7 +441,8 @@ class TestSuiteWrite(unittest.TestCase):
|
|||
self.assertEqual(len(codestream.segment[2].spcod), 9)
|
||||
|
||||
# 18 SOP segments.
|
||||
nsops = [x.nsop for x in codestream.segment if x.marker_id == 'SOP']
|
||||
nsops = [x.nsop for x in codestream.segment
|
||||
if x.marker_id == 'SOP']
|
||||
self.assertEqual(nsops, list(range(18)))
|
||||
|
||||
def test_NR_ENC_Bretagne2_ppm_7_encode(self):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue