summaryrefslogtreecommitdiff
path: root/media-sound/solfege/files/solfege-3.23.4-fix-tests.patch
blob: d182ab5dad624d47371b0ad22415b1eac5045021 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
--- a/solfege/tests/test_lessonfile.py    2026-07-16 06:10:26.973612458 +0300
+++ b/solfege/tests/test_lessonfile.py  2026-07-16 06:12:58.458665911 +0300
@@ -1239,7 +1239,7 @@
             # This test only works with nrandom, because prandom will
             # return a possible different value every time.
             if rfunc == 'nrandom':
-                l = Gtk.Label(label=st)
+                l = Gtk.Label(label=str(st))
                 self.assertTrue(l.get_text() == str(st), "%s and gtk does not cooperate." % rfunc)