python: TemplatePyMod: *.py: Fix python3 syntax

This commit is contained in:
Priit Laes
2016-03-12 15:11:25 +02:00
committed by wmayer
parent f0188ae8ad
commit 171d908615
5 changed files with 17 additions and 17 deletions

View File

@@ -69,14 +69,14 @@ class ParameterTestCase(unittest.TestCase):
# Parameter testing
#FreeCAD.PrintLog("Base::ParameterTestCase::testNesting\n")
for i in range(50):
self.TestPar.SetFloat(`i`,4711.4711)
self.TestPar.SetInt(`i`,4711)
self.TestPar.SetBool(`i`,1)
Temp = self.TestPar.GetGroup(`i`)
self.TestPar.SetFloat(i,4711.4711)
self.TestPar.SetInt(i,4711)
self.TestPar.SetBool(i,1)
Temp = self.TestPar.GetGroup(i)
for l in range(50):
Temp.SetFloat(`l`,4711.4711)
Temp.SetInt(`l`,4711)
Temp.SetBool(`l`,1)
Temp.SetFloat(l,4711.4711)
Temp.SetInt(l,4711)
Temp.SetBool(l,1)
Temp = 0
def testExportImport(self):