mirror of https://github.com/KLayout/klayout.git
Fixed pya tests for Python 2.7
This commit is contained in:
parent
188b5ce4fb
commit
cb3d7bc5f3
|
|
@ -26,7 +26,7 @@ class LAYObjectsTests(unittest.TestCase):
|
|||
class MyBrowserSource(pya.BrowserSource):
|
||||
def get(self, url):
|
||||
next_url = "int:" + str(int(url.split(":")[1]) + 1)
|
||||
return f"This is {url}. <a href='{next_url}'>Goto next ({next_url})</a>"
|
||||
return "This is " + url + ". <a href='" + next_url + "'>Goto next (" + next_url + ")</a>"
|
||||
|
||||
dialog = pya.BrowserDialog()
|
||||
dialog.home = "int:0"
|
||||
|
|
|
|||
Loading…
Reference in New Issue