gh-133351: Fix remote PDB's multi-line block tab completion by godlygeek · Pull Request #133387 · python/cpython
Provide extra context to the server so that it knows that we're requesting completions for a Python expression, rather than for PDB commands.
Comment on lines +535 to +537
| """Test requesting tab completions at a (Pdb) continuation prompt.""" | ||
| # GIVEN | ||
| incoming = [ |
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| """Test requesting tab completions at a (Pdb) continuation prompt.""" | |
| # GIVEN | |
| incoming = [ | |
| """Test requesting tab completions at a (Pdb) continuation prompt.""" | |
| incoming = [ |
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I kind of agree that #GIVEN is unnecessary here. However, that's consistent with other tests and it's not super important at this point. I do think in the future we should have a cleanup PR to clean these out. It's kind of redundent at this point.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters