better support for word.swap(otherWord) without parantheses or quotes

This commit is contained in:
Damian at mba
2022-10-21 00:08:28 +02:00
parent da88097aba
commit da75876639
2 changed files with 12 additions and 11 deletions

View File

@ -104,8 +104,6 @@ class PromptParserTestCase(unittest.TestCase):
parse_prompt('(a (ba)dly (f)ormed test+ +prompt')
with self.assertRaises(pyparsing.ParseException):
parse_prompt('("((a badly (formed test+ ").blend(1.0)')
with self.assertRaises(pyparsing.ParseException):
parse_prompt('mountain (\\"man").swap("monkey")')
def test_blend(self):