Unverified Commit 2f2319d6 authored by moto's avatar moto Committed by GitHub
Browse files

Fix io test (#653)

parent faefe689
...@@ -171,7 +171,7 @@ class Test_LoadSave(unittest.TestCase): ...@@ -171,7 +171,7 @@ class Test_LoadSave(unittest.TestCase):
self.assertEqual(sample_rate, sample_rate2) self.assertEqual(sample_rate, sample_rate2)
os.unlink(output_path) os.unlink(output_path)
@unittest.skipIf(set(["sox", "soundfile"]) not in set(BACKENDS), "sox and soundfile are not available") @unittest.skipIf(any(be not in BACKENDS for be in ["sox", "soundfile"]), "sox and soundfile are not available")
def test_3_load_and_save_is_identity_across_backend(self): def test_3_load_and_save_is_identity_across_backend(self):
with self.subTest(): with self.subTest():
self._test_3_load_and_save_is_identity_across_backend("sox", "soundfile") self._test_3_load_and_save_is_identity_across_backend("sox", "soundfile")
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment