mirror of
https://github.com/davidhalter/jedi.git
synced 2025-12-07 14:34:31 +08:00
@@ -1,3 +1,5 @@
|
|||||||
|
import pytest
|
||||||
|
|
||||||
from jedi import settings
|
from jedi import settings
|
||||||
from jedi.cache import ParserCacheItem, _ModulePickling
|
from jedi.cache import ParserCacheItem, _ModulePickling
|
||||||
|
|
||||||
@@ -5,6 +7,7 @@ from jedi.cache import ParserCacheItem, _ModulePickling
|
|||||||
ModulePickling = _ModulePickling()
|
ModulePickling = _ModulePickling()
|
||||||
|
|
||||||
|
|
||||||
|
@pytest.mark.skipif("sys.version_info >= (3,0)")
|
||||||
def test_modulepickling_change_cache_dir(monkeypatch, tmpdir):
|
def test_modulepickling_change_cache_dir(monkeypatch, tmpdir):
|
||||||
"""
|
"""
|
||||||
ModulePickling should not save old cache when cache_directory is changed.
|
ModulePickling should not save old cache when cache_directory is changed.
|
||||||
|
|||||||
Reference in New Issue
Block a user