mirror of
https://github.com/davidhalter/jedi.git
synced 2026-01-30 18:45:25 +08:00
Remove some unnecessary utf-8 references
This commit is contained in:
@@ -400,7 +400,7 @@ def collect_dir_tests(base_dir, test_files, check_thirdparty=False):
|
||||
|
||||
path = os.path.join(base_dir, f_name)
|
||||
|
||||
with open(path, encoding='utf-8', newline='') as f:
|
||||
with open(path, newline='') as f:
|
||||
source = f.read()
|
||||
|
||||
for case in collect_file_tests(path, StringIO(source),
|
||||
|
||||
@@ -1,4 +1,3 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
"""
|
||||
All character set and unicode related tests.
|
||||
"""
|
||||
|
||||
@@ -1,4 +1,3 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
import warnings
|
||||
|
||||
import pytest
|
||||
|
||||
@@ -1,4 +1,3 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
from jedi import parser_utils
|
||||
from parso import parse
|
||||
from parso.python import tree
|
||||
|
||||
Reference in New Issue
Block a user