diff --git a/setup.py b/setup.py index 0af39ce7..817c1111 100644 --- a/setup.py +++ b/setup.py @@ -58,7 +58,7 @@ def readme(): 'pyqode.qt', 'pyqode.core', 'jedi', - 'pep8', + 'pycodestyle', 'pyflakes', 'docutils' ] diff --git a/test/test_backend/test_workers.py b/test/test_backend/test_workers.py index e546cf5c..44021a18 100644 --- a/test/test_backend/test_workers.py +++ b/test/test_backend/test_workers.py @@ -72,7 +72,7 @@ def test_extract_def(): editor.show() app.exec() """ - for definition in jedi.defined_names(code): + for definition in jedi.names(code): result = workers._extract_def(definition, "") assert result