python: TemplatePyMod: *.py: Fix python3 syntax
This commit is contained in:
@@ -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):
|
||||
|
||||
Reference in New Issue
Block a user