[Bugfix] Expression: fix precedence+associativity management in parenthesis removal

Fixes #6948
This commit is contained in:
0penBrain
2022-06-01 12:31:43 +02:00
committed by wwmayer
parent b7d8d26c52
commit d96a7ac9d8
2 changed files with 5 additions and 4 deletions

View File

@@ -1551,6 +1551,7 @@ class DocumentExpressionCases(unittest.TestCase):
# must not raise a topological error
self.assertEqual(self.Doc.recompute(), 2)
def testIssue4649(self):
class Cls():
def __init__(self, obj):