@@ -44,7 +44,7 @@ def test_wav(self, dtype, sample_rate, num_channels):
4444 def test_wav_multiple_channels (self , dtype , sample_rate , num_channels ):
4545 """`sox_io_backend.info` can check wav file with channels more than 2 correctly"""
4646 duration = 1
47- path = self .get_temp_path (f 'data.wav' )
47+ path = self .get_temp_path ('data.wav' )
4848 data = get_wav_data (dtype , num_channels , normalize = False , num_frames = duration * sample_rate )
4949 save_wav (path , data , sample_rate )
5050 info = sox_io_backend .info (path )
@@ -60,7 +60,7 @@ def test_wav_multiple_channels(self, dtype, sample_rate, num_channels):
6060 def test_mp3 (self , sample_rate , num_channels , bit_rate ):
6161 """`sox_io_backend.info` can check mp3 file correctly"""
6262 duration = 1
63- path = self .get_temp_path (f 'data.mp3' )
63+ path = self .get_temp_path ('data.mp3' )
6464 sox_utils .gen_audio_file (
6565 path , sample_rate , num_channels ,
6666 compression = bit_rate , duration = duration ,
@@ -79,7 +79,7 @@ def test_mp3(self, sample_rate, num_channels, bit_rate):
7979 def test_flac (self , sample_rate , num_channels , compression_level ):
8080 """`sox_io_backend.info` can check flac file correctly"""
8181 duration = 1
82- path = self .get_temp_path (f 'data.flac' )
82+ path = self .get_temp_path ('data.flac' )
8383 sox_utils .gen_audio_file (
8484 path , sample_rate , num_channels ,
8585 compression = compression_level , duration = duration ,
@@ -97,7 +97,7 @@ def test_flac(self, sample_rate, num_channels, compression_level):
9797 def test_vorbis (self , sample_rate , num_channels , quality_level ):
9898 """`sox_io_backend.info` can check vorbis file correctly"""
9999 duration = 1
100- path = self .get_temp_path (f 'data.vorbis' )
100+ path = self .get_temp_path ('data.vorbis' )
101101 sox_utils .gen_audio_file (
102102 path , sample_rate , num_channels ,
103103 compression = quality_level , duration = duration ,
0 commit comments