From 797d762f3384275325522f9482e091ca5770924b Mon Sep 17 00:00:00 2001 From: Borewit Date: Thu, 17 Aug 2017 09:20:48 +0200 Subject: [PATCH] Comply with 79 max-line-length --- mutagen/wave.py | 3 ++- tests/test_wave.py | 8 ++++---- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/mutagen/wave.py b/mutagen/wave.py index b1ec693c..11dcaab7 100644 --- a/mutagen/wave.py +++ b/mutagen/wave.py @@ -188,7 +188,8 @@ def insert_chunk(self, id_): check_id(id_) self._RiffFile__fileobj.seek(self.__next_offset) - self._RiffFile__fileobj.write(pack('<4si', id_.ljust(4).encode('ascii'), 0)) + self._RiffFile__fileobj.write(pack('<4si', + id_.ljust(4).encode('ascii'), 0)) self._RiffFile__fileobj.seek(self.__next_offset) chunk = RiffChunkHeader(self._RiffFile__fileobj) self[u'RIFF']._update_size(self[u'RIFF'].data_size + chunk.size) diff --git a/tests/test_wave.py b/tests/test_wave.py index 037f0199..104ed21b 100644 --- a/tests/test_wave.py +++ b/tests/test_wave.py @@ -43,10 +43,10 @@ def test_sample_rate(self): 44100) def test_number_of_samples(self): - self.failUnlessEqual(self.wav_pcm_2s_16000_08_ID3v23.info.number_of_samples, - 32000) - self.failUnlessEqual(self.wav_pcm_2s_44100_16_ID3v23.info.number_of_samples, - 88200) + self.failUnlessEqual(self.wav_pcm_2s_16000_08_ID3v23. + info.number_of_samples, 32000) + self.failUnlessEqual(self.wav_pcm_2s_44100_16_ID3v23. + info.number_of_samples, 88200) def test_length(self): self.failUnlessAlmostEqual(self.wav_pcm_2s_16000_08_ID3v23.info.length,