mirror of
https://github.com/iluvcapra/wavinfo.git
synced 2026-10-01 17:27:42 +00:00
Ruff: Fixed SIM115
This commit is contained in:
+3
-5
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user