mirror of
https://github.com/davidhalter/jedi.git
synced 2025-12-07 06:24:27 +08:00
Merge with master
The deprecation of Python2.6 and the insertion of environments made it quite difficult to merge.
This commit is contained in:
@@ -41,9 +41,9 @@ def parse_test_files_option(opt):
|
||||
opt = str(opt)
|
||||
if ':' in opt:
|
||||
(f_name, rest) = opt.split(':', 1)
|
||||
return (f_name, list(map(int, rest.split(','))))
|
||||
return f_name, list(map(int, rest.split(',')))
|
||||
else:
|
||||
return (opt, [])
|
||||
return opt, []
|
||||
|
||||
|
||||
def pytest_generate_tests(metafunc):
|
||||
@@ -127,7 +127,7 @@ class StaticAnalysisCase(object):
|
||||
|
||||
@pytest.fixture()
|
||||
def cwd_tmpdir(monkeypatch, tmpdir):
|
||||
with helpers.set_cwd(tmpdir.dirpath):
|
||||
with helpers.set_cwd(tmpdir.strpath):
|
||||
yield tmpdir
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user