formatting

This commit is contained in:
evilchili committed 2024-06-02 23:57:37 -07:00
1 parent 1fbe833d39
commit 26aa401bfe
3 files changed
+24 -27

No files matched your search

+2 -3
View File
@@ -10,9 +10,8 @@ from croaker import playlist, transcoder
def mock_mp3decoder(monkeypatch):
def read(stream):
return stream.read()
monkeypatch.setattr(transcoder, 'MP3Decoder', MagicMock(**{
'__enter__.return_value.read': read
}))
monkeypatch.setattr(transcoder, "MP3Decoder", MagicMock(**{"__enter__.return_value.read": read}))
@pytest.mark.xfail