Maybe fixed issue-2012 (leaking reference in Python)

This commit is contained in:
Matthias Koefferlein
2025-04-03 20:44:34 +02:00
parent e6ff30adee
commit c656700b44
3 changed files with 45 additions and 20 deletions
+1 -1
View File
@@ -684,7 +684,7 @@ class DBLayoutTest(unittest.TestCase):
ly = pya.Layout(True)
pv = [ [ 17, "a" ], [ "b", [ 1, 5, 7 ] ] ]
pid = ly.properties_id( pv )
# does not work? @@@
# does not work?
# pv = { 17: "a", "b": [ 1, 5, 7 ] }
# pid2 = ly.properties_id( pv )
# self.assertEqual( pid, pid2 )