diff --git a/tests/test_helpers.py b/tests/test_helpers.py index 141db58..8c9181e 100644 --- a/tests/test_helpers.py +++ b/tests/test_helpers.py @@ -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)