core: Fix typos in comments

This commit is contained in:
Thomas Adamcik 2015-10-05 21:41:15 +02:00
parent 7f4e77f36f
commit 1ca548ece7
2 changed files with 5 additions and 4 deletions

View File

@ -336,7 +336,7 @@ class PlaybackController(object):
if not pending_tl_track:
self.stop()
self._on_end_of_stream() # pretend and EOS happend for cleanup
self._on_end_of_stream() # pretend an EOS happened for cleanup
return True
backend = self._get_backend(pending_tl_track)

View File

@ -13,9 +13,10 @@ from mopidy.models import Track
from tests import dummy_audio
# TODO: Replace this with dummy_backend no that it uses a real playbackprovider
# Since we rely on our DummyAudio to actually emit events we need a "real"
# backend and not a mock so the right calls make it through to audio.
# TODO: Replace this with dummy_backend now that it uses a real
# playbackprovider Since we rely on our DummyAudio to actually emit events we
# need a "real" backend and not a mock so the right calls make it through to
# audio.
class TestBackend(pykka.ThreadingActor, backend.Backend):
uri_schemes = ['dummy']