From 04390300cd6a33debbf71c095a99bcb3e4c3a51e Mon Sep 17 00:00:00 2001 From: Markus Lampert Date: Wed, 23 Aug 2017 20:08:58 -0700 Subject: [PATCH] More py3 compatibility, same root cause though. --- src/Mod/Path/PathTests/TestPathDressupDogbone.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Mod/Path/PathTests/TestPathDressupDogbone.py b/src/Mod/Path/PathTests/TestPathDressupDogbone.py index 4ebe1d27e3..4e7c526dac 100644 --- a/src/Mod/Path/PathTests/TestPathDressupDogbone.py +++ b/src/Mod/Path/PathTests/TestPathDressupDogbone.py @@ -128,8 +128,8 @@ class TestDressupDogbone(PathTestBase): dog = dogbone.Proxy locs = sorted([bone[1] for bone in dog.bones], key=lambda xy: xy[0] * 1000 + xy[1]) - def formatBoneLoc((x, y)): - return "(%.2f, %.2f)" % (x, y) + def formatBoneLoc(pt): + return "(%.2f, %.2f)" % (pt[0], pt[1]) # Make sure we get 8 bones, 2 in each corner (different heights) self.assertEquals(len(locs), 8)