Clean up tmpdir after normalise tests
This commit is contained in:
parent
5624d77519
commit
c0b7bf76f5
@ -1,5 +1,6 @@
|
||||
# Standard library imports
|
||||
import datetime as dt
|
||||
import os
|
||||
import shutil
|
||||
import tempfile
|
||||
import unittest
|
||||
@ -95,7 +96,9 @@ class TestMMHelpers(unittest.TestCase):
|
||||
_, mp3_temp_path = tempfile.mkstemp(suffix=".mp3")
|
||||
shutil.copyfile("testdata/isa.mp3", mp3_temp_path)
|
||||
normalise_track(mp3_temp_path)
|
||||
os.unlink(mp3_temp_path)
|
||||
|
||||
_, flac_temp_path = tempfile.mkstemp(suffix=".flac")
|
||||
shutil.copyfile("testdata/isa.flac", flac_temp_path)
|
||||
normalise_track(flac_temp_path)
|
||||
os.unlink(flac_temp_path)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user