From 68cc2a93543a4080f067fecf8b9813601b6a6299 Mon Sep 17 00:00:00 2001 From: Dave Halter Date: Thu, 11 May 2017 07:43:03 -0400 Subject: [PATCH] Remove some Jedi occurances. --- conftest.py | 4 ++-- parso/tree.py | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/conftest.py b/conftest.py index 2567fcd..3627efc 100644 --- a/conftest.py +++ b/conftest.py @@ -9,7 +9,7 @@ collect_ignore = ["setup.py"] # The following hooks (pytest_configure, pytest_unconfigure) are used -# to modify `jedi.settings.cache_directory` because `clean_jedi_cache` +# to modify `jedi.settings.cache_directory` because `clean_parso_cache` # has no effect during doctests. Without these hooks, doctests uses # user's cache (e.g., ~/.cache/jedi/). We should remove this # workaround once the problem is fixed in py.test. @@ -51,7 +51,7 @@ def pytest_unconfigure(config): @pytest.fixture(scope='session') -def clean_jedi_cache(request): +def clean_parso_cache(request): """ Set `jedi.settings.cache_directory` to a temporary directory during test. diff --git a/parso/tree.py b/parso/tree.py index bf1bdae..690698a 100644 --- a/parso/tree.py +++ b/parso/tree.py @@ -1,5 +1,5 @@ from abc import abstractmethod, abstractproperty -from parso._compatibility import utf8_repr, encoding, is_py3 +from jedi._compatibility import utf8_repr, encoding, is_py3 def search_ancestor(node, *node_types):