Ruff: Fixed SIM115

This commit is contained in:
2026-09-17 14:10:25 -07:00
parent 94aec13d00
commit 5d481e2960
2 changed files with 4 additions and 6 deletions
+3 -5
View File
@@ -15,8 +15,6 @@ class TestRf64(TestCase):
def test_open(self):
for path in glob("tests/test_files/rf64/*.wav.gz"):
gz = gzip.open(path)
wav_info = wavinfo.WavInfoReader(gz)
self.assertIsNotNone(wav_info)
# self.assertIsNotNone(wav_info.bext)
with gzip.open(path) as gz:
wav_info = wavinfo.WavInfoReader(gz)
self.assertIsNotNone(wav_info)