formatting

This commit is contained in:
evilchili
2024-06-02 23:57:37 -07:00
parent 1fbe833d39
commit 26aa401bfe
3 changed files with 24 additions and 27 deletions
+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