mirror of
https://github.com/davidhalter/jedi.git
synced 2026-11-05 08:42:51 +08:00
add proper deprecation warnings and warnings become error messages in Jedi; also deprecate CallSignature.call_name
This commit is contained in:
1 parent
064f161acc
commit
c7fc13743f
3 files changed
+14
-2
No files matched your search
@@ -27,6 +27,9 @@ def pytest_addoption(parser):
|
||||
|
||||
|
||||
def pytest_configure(config):
|
||||
import warnings
|
||||
warnings.simplefilter("error")
|
||||
|
||||
global jedi_cache_directory_orig, jedi_cache_directory_temp
|
||||
jedi_cache_directory_orig = jedi.settings.cache_directory
|
||||
jedi_cache_directory_temp = tempfile.mkdtemp(prefix='jedi-test-')
|
||||
|
||||
Reference in new issue
Block a user