diff options
author | Ned Batchelder <ned@nedbatchelder.com> | 2013-10-19 21:21:10 -0400 |
---|---|---|
committer | Ned Batchelder <ned@nedbatchelder.com> | 2013-10-19 21:21:10 -0400 |
commit | 18ba48b6b119f07f5c738c7fd36c2d2ede04f67e (patch) | |
tree | 17a656943635c42860d4b3751532468f952bd6c3 /coverage/phystokens.py | |
parent | b257ecb0bdcfae09d74ab95ad621bed19934b555 (diff) | |
download | python-coveragepy-git-18ba48b6b119f07f5c738c7fd36c2d2ede04f67e.tar.gz |
We only run on 2.6, 2.7, 3.2, 3.3 now.
--HG--
branch : 4.0
Diffstat (limited to 'coverage/phystokens.py')
-rw-r--r-- | coverage/phystokens.py | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/coverage/phystokens.py b/coverage/phystokens.py index 2a91882d..58522413 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 |