From d141a36502ff40891959048c7154c2f954dd2d13 Mon Sep 17 00:00:00 2001 From: Ned Batchelder Date: Sat, 19 Oct 2013 21:21:10 -0400 Subject: We only run on 2.6, 2.7, 3.2, 3.3 now. --- coverage/phystokens.py | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) (limited to 'coverage/phystokens.py') diff --git a/coverage/phystokens.py b/coverage/phystokens.py index 2a91882..5852241 100644 --- a/coverage/phystokens.py +++ b/coverage/phystokens.py @@ -141,13 +141,8 @@ def source_encoding(source): # invalid charset, raise a SyntaxError. Note that if a utf-8 bom is found, # 'utf-8-sig' is returned. - # If no encoding is specified, then the default will be returned. The - # default varied with version. - - if sys.version_info <= (2, 4): - default = 'iso-8859-1' - else: - default = 'ascii' + # If no encoding is specified, then the default will be returned. + default = 'ascii' bom_found = False encoding = None -- cgit v1.2.1