summaryrefslogtreecommitdiff
path: root/tests/test_basic_api.py
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2019-11-24 16:39:07 +0100
committerGeorg Brandl <georg@python.org>2019-11-24 17:26:34 +0100
commit4fbcaed3b97c753fe2f33b8e0539b68710d1ee1f (patch)
treefd92655b19bfe41d0fe7885b95d7b1d5b2eed7a0 /tests/test_basic_api.py
parent27553676a48e18ae819459d3aaea4c44d4b047bc (diff)
downloadpygments-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.py2
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)