mirror of
https://github.com/KLayout/klayout.git
synced 2026-08-29 09:20:45 +02:00
Fixed #185 for pymod branch
This commit is contained in:
Vendored
+8
@@ -530,6 +530,14 @@ class DBTransTests(unittest.TestCase):
|
||||
self.assertEqual(t1.hash() == t3.hash(), False)
|
||||
self.assertEqual(t1.hash() == t4a.hash(), False)
|
||||
self.assertEqual(t1.hash() == t4b.hash(), False)
|
||||
self.assertEqual(hash(t1) == hash(t2), True)
|
||||
self.assertEqual(hash(t1) == hash(t3), False)
|
||||
self.assertEqual(hash(t1) == hash(t4a), False)
|
||||
self.assertEqual(hash(t1) == hash(t4b), False)
|
||||
self.assertEqual(t1.__hash__() == t2.__hash__(), True)
|
||||
self.assertEqual(t1.__hash__() == t3.__hash__(), False)
|
||||
self.assertEqual(t1.__hash__() == t4a.__hash__(), False)
|
||||
self.assertEqual(t1.__hash__() == t4b.__hash__(), False)
|
||||
|
||||
# Transformations can't be used as hash keys currently
|
||||
if False:
|
||||
|
||||
Reference in New Issue
Block a user