Mercurial > hgrepos > Python > libs > pygments-lexer-pseudocode2
comparison tests/test_algpseudo.py @ 72:206017a08ed7
Refactor: Make the "op_space()" and related methods more flexible and allow a given fixed token type and value
| author | Franz Glasner <fzglas.hg@dom66.de> |
|---|---|
| date | Tue, 28 Apr 2026 19:14:17 +0200 |
| parents | 5517b0be67f0 |
| children | c1357674622d |
comparison
equal
deleted
inserted
replaced
| 71:2ea86269e84e | 72:206017a08ed7 |
|---|---|
| 307 def test_expr_and_text_with_escaped_characters(self): | 307 def test_expr_and_text_with_escaped_characters(self): |
| 308 self.assertTokenStreamEqualComplete( | 308 self.assertTokenStreamEqualComplete( |
| 309 [("Name.Entity", "a"), | 309 [("Name.Entity", "a"), |
| 310 ("Text", " "), | 310 ("Text", " "), |
| 311 ("Text", "multiplied by {escaped"), | 311 ("Text", "multiplied by {escaped"), |
| 312 ("Text", "\\}"), | 312 ("Text", "}"), |
| 313 ("Text", " "), | 313 ("Text", " "), |
| 314 ("Text", " "), | 314 ("Text", " "), |
| 315 ("Name.Entity", "b"), | 315 ("Name.Entity", "b"), |
| 316 ("Text", " "), | 316 ("Text", " "), |
| 317 ("Text", "is "), | 317 ("Text", "is "), |
