summaryrefslogtreecommitdiffstats
path: root/tests/QtMultimedia/audio_test.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/QtMultimedia/audio_test.py')
-rw-r--r--tests/QtMultimedia/audio_test.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/QtMultimedia/audio_test.py b/tests/QtMultimedia/audio_test.py
index 04d0a1e..0d8813d 100644
--- a/tests/QtMultimedia/audio_test.py
+++ b/tests/QtMultimedia/audio_test.py
@@ -10,6 +10,8 @@ class testAudioDevices(unittest.TestCase):
def testListDevices(self):
for devInfo in QAudioDeviceInfo.availableDevices(QAudio.AudioOutput):
+ if devInfo.deviceName() == 'null':
+ continue
fmt = QAudioFormat()
for codec in devInfo.supportedCodecs():
fmt.setCodec(codec)