[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 fbb5555f27
commit 38ec63cba1
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):