mirror of https://github.com/KLayout/klayout.git
Fixed Python tests for Python 2 backward compatibility
This commit is contained in:
parent
2191febc38
commit
85bb9be5c0
|
|
@ -42,7 +42,7 @@ class EdgeNeighborhoodWithNetsVisitor(pya.EdgeNeighborhoodVisitor):
|
|||
for (x1, x2), polygons in neighborhood:
|
||||
for inp, poly in polygons.items():
|
||||
poly_str = "/".join(sorted([ str(p) for p in poly ]))
|
||||
edge_data.append(f"{x1},{x2} -> {inp}: {poly_str}")
|
||||
edge_data.append(str(x1) + "," + str(x2) + " -> " + str(inp) + ": " + poly_str)
|
||||
|
||||
def dump(self):
|
||||
res = ""
|
||||
|
|
|
|||
Loading…
Reference in New Issue