Fixed issue #1393 (GDS2 text format not supported in python module)

This commit is contained in:
Matthias Koefferlein
2023-05-31 20:32:34 +02:00
parent c3bda162cb
commit 987bb005da
2 changed files with 8 additions and 0 deletions
+6
View File
@@ -41,6 +41,12 @@ class BasicTest(unittest.TestCase):
v.read(os.path.join(os.path.dirname(__file__), "..", "gds", "t10.gds"))
self.assertEqual(v.top_cell().name, "RINGO")
def test_4(self):
# gds2_text plugin loaded? (issue #1393)
v = db.Layout()
v.read(os.path.join(os.path.dirname(__file__), "..", "gds2_txt", "read.txt"))
self.assertEqual(v.top_cell().name, "RINGO")
# run unit tests
if __name__ == '__main__':
suite = unittest.TestSuite()