diff options
author | Georg Brandl <georg@python.org> | 2019-11-25 06:23:50 +0100 |
---|---|---|
committer | Georg Brandl <georg@python.org> | 2019-11-25 06:23:50 +0100 |
commit | d338695666a8255ec1dd188a2fa653fc42516aa3 (patch) | |
tree | f1c04765e0e3399a833be583a3455bada62a3009 | |
parent | bb9e8694dde642886e980e297c5f382018e0d812 (diff) | |
download | pygments-git-d338695666a8255ec1dd188a2fa653fc42516aa3.tar.gz |
tests: set STORE_OUTPUT to false and explain it
-rw-r--r-- | tests/test_examplefiles.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/tests/test_examplefiles.py b/tests/test_examplefiles.py index 6fe71218..491c1e0d 100644 --- a/tests/test_examplefiles.py +++ b/tests/test_examplefiles.py @@ -20,7 +20,10 @@ from pygments.lexers import get_lexer_for_filename, get_lexer_by_name from pygments.token import Error from pygments.util import ClassNotFound -STORE_OUTPUT = True +# You can set this to True to store the exact token type output of example +# files in tests/examplefiles/output, and on the next run the test will +# want them to stay the same. In the repository, this should stay False. +STORE_OUTPUT = False STATS = {} |