mirror of
https://github.com/KLayout/klayout.git
synced 2026-08-22 14:07:15 +02:00
Fixed issue #1393 (GDS2 text format not supported in python module)
This commit is contained in:
Vendored
+6
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user