diff options
| author | Georg Brandl <georg@python.org> | 2019-11-24 16:39:07 +0100 |
|---|---|---|
| committer | Georg Brandl <georg@python.org> | 2019-11-24 17:26:34 +0100 |
| commit | 4fbcaed3b97c753fe2f33b8e0539b68710d1ee1f (patch) | |
| tree | fd92655b19bfe41d0fe7885b95d7b1d5b2eed7a0 /tests/test_basic_api.py | |
| parent | 27553676a48e18ae819459d3aaea4c44d4b047bc (diff) | |
| download | pygments-git-4fbcaed3b97c753fe2f33b8e0539b68710d1ee1f.tar.gz | |
Python lexers: make Python 3 the default
Diffstat (limited to 'tests/test_basic_api.py')
| -rw-r--r-- | tests/test_basic_api.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test_basic_api.py b/tests/test_basic_api.py index 0db65b51..056f106a 100644 --- a/tests/test_basic_api.py +++ b/tests/test_basic_api.py @@ -113,7 +113,7 @@ def test_get_lexers(): for func, args in [(lexers.get_lexer_by_name, ("python",)), (lexers.get_lexer_for_filename, ("test.py",)), (lexers.get_lexer_for_mimetype, ("text/x-python",)), - (lexers.guess_lexer, ("#!/usr/bin/python -O\nprint",)), + (lexers.guess_lexer, ("#!/usr/bin/python3 -O\nprint",)), (lexers.guess_lexer_for_filename, ("a.py", "<%= @foo %>")) ]: x = func(opt='val', *args) |
