From cb3d7bc5f39bda426b25cefd02465a8986830972 Mon Sep 17 00:00:00 2001 From: Matthias Koefferlein Date: Sat, 20 Jan 2024 23:11:54 +0100 Subject: [PATCH] Fixed pya tests for Python 2.7 --- testdata/python/layObjects.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/testdata/python/layObjects.py b/testdata/python/layObjects.py index 695621ec6..1b58f4430 100644 --- a/testdata/python/layObjects.py +++ b/testdata/python/layObjects.py @@ -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}. Goto next ({next_url})" + return "This is " + url + ". Goto next (" + next_url + ")" dialog = pya.BrowserDialog() dialog.home = "int:0"