def test_no_change_source(self):
    data = AudioLoader.load_mel_spectrogram(self.sample_wav_file, n_mels=128)
    aug = nas.LoudnessAug(stateless=False)
    aug_data = aug.augment(data)
    comparison = (data == aug_data)
    self.assertFalse(comparison.all())
def test_no_change_source(self):
    data = AudioLoader.load_mel_spectrogram(self.sample_wav_file, n_mels=128)
    aug = nas.LoudnessAug(stateless=False)
    aug_data = aug.augment(data)
    comparison = (data == aug_data)
    self.assertFalse(comparison.all())