(self)
| 5046 | self.assertIn(b'$_frame', output) |
| 5047 | |
| 5048 | def test_builtin_completion(self): |
| 5049 | script = textwrap.dedent(""" |
| 5050 | value = "speci" |
| 5051 | import pdb; pdb.Pdb().set_trace() |
| 5052 | """) |
| 5053 | |
| 5054 | # Complete: print(value + 'al') |
| 5055 | input = b"pri\tval\t + 'al')\n" |
| 5056 | |
| 5057 | # Continue |
| 5058 | input += b"c\n" |
| 5059 | |
| 5060 | output = run_pty(script, input) |
| 5061 | |
| 5062 | self.assertIn(b'special', output) |
| 5063 | |
| 5064 | def test_convvar_completion(self): |
| 5065 | script = textwrap.dedent(""" |