Skip to content

Commit

Permalink
Makes test python 2.6 compatible
Browse files Browse the repository at this point in the history
  • Loading branch information
mpaolino committed Dec 11, 2017
1 parent b6fb462 commit eb5d25d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/test.py
Original file line number Diff line number Diff line change
Expand Up @@ -863,7 +863,7 @@ def test_from_file_clean_fail(self):
tmp_wav_file.flush()
self.assertRaises(CouldntDecodeError, AudioSegment.from_file, tmp_wav_file.name)
files = os.listdir(tempfile.tempdir)
self.assertListEqual(files, [os.path.basename(tmp_wav_file.name)])
self.assertEquals(files, [os.path.basename(tmp_wav_file.name)])

if sys.platform == 'win32':
os.remove(tmp_wav_file.name)
Expand Down

0 comments on commit eb5d25d

Please sign in to comment.