summaryrefslogtreecommitdiffstats
path: root/bindings/test
diff options
context:
space:
mode:
Diffstat (limited to 'bindings/test')
-rw-r--r--bindings/test/python/test_api.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/bindings/test/python/test_api.py b/bindings/test/python/test_api.py
index abc1d5e..fd49cc9 100644
--- a/bindings/test/python/test_api.py
+++ b/bindings/test/python/test_api.py
@@ -260,8 +260,8 @@ class PluginTests(unittest.TestCase):
self.assertEqual("input", port.get_symbol())
self.assertEqual("Input", port.get_name())
self.assertEqual(
- [self.world.ns.lv2.ControlPort, self.world.ns.lv2.InputPort],
- list(port.get_classes()),
+ [str(self.world.ns.lv2.ControlPort), str(self.world.ns.lv2.InputPort)],
+ sorted(list(map(str, port.get_classes()))),
)
self.assertTrue(port.is_a(self.world.ns.lv2.ControlPort))
self.assertFalse(port.is_a(self.world.ns.lv2.AudioPort))