From 6cb981d4ed159402278bccd2f3a649d45d2cdff6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ren=C3=A9=20Dudfield?= Date: Wed, 15 May 2024 21:28:47 +0200 Subject: [PATCH] test: Fix test_queue timing issue Some "times" it would not finish the sound quick enough so the test would fail. --- test/mixer_test.py | 1 + 1 file changed, 1 insertion(+) diff --git a/test/mixer_test.py b/test/mixer_test.py index 9965924438..918a90d989 100644 --- a/test/mixer_test.py +++ b/test/mixer_test.py @@ -854,6 +854,7 @@ def test_queue(self): channel.play(sound1) channel.queue(sound2) channel.stop() + pygame.time.wait(100) self.assertIsNone(channel.get_queue()) self.assertFalse(channel.get_busy())