From 2ce66a950891cd20999ad0daa7124860ae7a8ef0 Mon Sep 17 00:00:00 2001 From: Dave Halter Date: Tue, 14 Jun 2016 18:09:08 +0200 Subject: [PATCH] Imports belong to the top of the module. --- test/conftest.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/conftest.py b/test/conftest.py index 7c7cb925..ac04e268 100644 --- a/test/conftest.py +++ b/test/conftest.py @@ -9,6 +9,7 @@ from . import refactor import jedi from jedi.evaluate.analysis import Warning +from jedi import settings def pytest_addoption(parser): @@ -126,5 +127,4 @@ def isolated_jedi_cache(monkeypatch, tmpdir): Same as `clean_jedi_cache`, but create the temporary directory for each test case (scope='function'). """ - from jedi import settings monkeypatch.setattr(settings, 'cache_directory', str(tmpdir))