aboutsummaryrefslogtreecommitdiffstats
path: root/tests/phonon/basic_playing_test.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/phonon/basic_playing_test.py')
-rw-r--r--tests/phonon/basic_playing_test.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/phonon/basic_playing_test.py b/tests/phonon/basic_playing_test.py
index 49df7d51e..d7664279d 100644
--- a/tests/phonon/basic_playing_test.py
+++ b/tests/phonon/basic_playing_test.py
@@ -11,7 +11,7 @@ def checkBackendCapabilities(func):
if Phonon.BackendCapabilities.isMimeTypeAvailable('audio/x-wav'):
func(self, *args, **kw)
else:
- print 'Wav format not supported! Playback test skipped!'
+ print('Wav format not supported! Playback test skipped!')
return function
@@ -60,7 +60,7 @@ class TestSimplePlaying(UsesQCoreApplication):
self.media.stateChanged['Phonon::State', 'Phonon::State'].connect(self.state_cb)
self.media.play()
self.app.exec_()
- self.assert_(self.called)
+ self.assertTrue(self.called)
if __name__ == '__main__':