Update loader tests

This commit is contained in:
Eren Gölge
2022-02-25 11:12:44 +01:00
parent 6d9879bf66
commit b341951b78
+2 -2
View File
@@ -116,8 +116,8 @@ class TestTTSDataset(unittest.TestCase):
if self.ap.symmetric_norm:
self.assertLessEqual(mel_input.max(), self.ap.max_norm)
self.assertGreaterEqual(
mel_input.min(), -self.ap.max_norm
) # pylint: disable=invalid-unary-operand-type
mel_input.min(), -self.ap.max_norm # pylint: disable=invalid-unary-operand-type
)
self.assertLess(mel_input.min(), 0)
else:
self.assertLessEqual(mel_input.max(), self.ap.max_norm)