summaryrefslogtreecommitdiffstats
path: root/lib/kross/test/testperformance.py
diff options
context:
space:
mode:
authorSlávek Banko <slavek.banko@axis.cz>2023-01-22 02:02:13 +0100
committerSlávek Banko <slavek.banko@axis.cz>2023-01-22 02:02:13 +0100
commit86480e58eafc1fa3486e03155ed34e02b4595a24 (patch)
tree0e8f64c4003ea558e946b7a3347688904b451635 /lib/kross/test/testperformance.py
parent135d005014a1e85295af4e379f026a361537ae5f (diff)
downloadkoffice-86480e58.tar.gz
koffice-86480e58.zip
Drop python2 support in scripts.
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
Diffstat (limited to 'lib/kross/test/testperformance.py')
-rwxr-xr-xlib/kross/test/testperformance.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/kross/test/testperformance.py b/lib/kross/test/testperformance.py
index a76453ed8..bd9c6d2c8 100755
--- a/lib/kross/test/testperformance.py
+++ b/lib/kross/test/testperformance.py
@@ -10,7 +10,7 @@ def runner():
testobject1 = krosstestpluginmodule.testpluginobject1()
def testKexiDB(kexidbfile,drivername,sqlstring):
- print "test kexidb"
+ print("test kexidb")
import krosskexidb
drivermanager = krosskexidb.DriverManager()
connectiondata = drivermanager.createConnectionData()
@@ -29,7 +29,7 @@ def runner():
cursor.moveNext()
def test1():
- print "test1"
+ print("test1")
for i in range(100000):
testobject1.func1()
testobject1.func1()