Mercurial > hgrepos > Python > libs > pygments-lexer-pseudocode2
diff tests/_tsetup.py @ 28:de1f67eff9d5
Move the original French pseudocode lexter into a sub-module.
This is to prepare for a new implementation along the lines of
CTAN's "algpseudocode" or "algpseudocodex".
| author | Franz Glasner <fzglas.hg@dom66.de> |
|---|---|
| date | Tue, 21 Apr 2026 10:31:28 +0200 |
| parents | 859ab8abce0a |
| children | 1f741934205e |
line wrap: on
line diff
--- a/tests/_tsetup.py Tue Apr 21 01:22:43 2026 +0200 +++ b/tests/_tsetup.py Tue Apr 21 10:31:28 2026 +0200 @@ -16,9 +16,9 @@ PROJECTDIR = os.path.abspath( os.path.normpath(os.path.join(os.path.dirname(__file__), ".."))) sys.path.insert(0, PROJECTDIR) -LEXERFILENAME = os.path.join(PROJECTDIR, - "pygments_lexer_pseudocode2/__init__.py") -LEXERCLASS = "PseudocodeLexer2" +FRLEXERFILENAME = os.path.join(PROJECTDIR, + "pygments_lexer_pseudocode2/fr_pseudocode.py") +FRLEXERCLASS = "FrPseudocodeLexer" TESTSNIPPETSDIR = os.path.join( os.path.abspath(os.path.dirname(__file__)), "snippets")
