diff --git a/src/Mod/Path/PathTests/TestPathDressupDogbone.py b/src/Mod/Path/PathTests/TestPathDressupDogbone.py index 091ee6fc40..4ebe1d27e3 100644 --- a/src/Mod/Path/PathTests/TestPathDressupDogbone.py +++ b/src/Mod/Path/PathTests/TestPathDressupDogbone.py @@ -126,7 +126,7 @@ class TestDressupDogbone(PathTestBase): doc.recompute() dog = dogbone.Proxy - locs = sorted([bone[1] for bone in dog.bones], key=lambda (x,y): x * 1000 + y) + 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)