From 3c2b10a2a0dffef39ed4fb6fb360c68b656c5074 Mon Sep 17 00:00:00 2001 From: Dave Halter Date: Fri, 19 May 2017 14:45:36 -0400 Subject: [PATCH] Remove a test that wasn't used for a long time. --- test/test_cache.py | 19 ------------------- 1 file changed, 19 deletions(-) diff --git a/test/test_cache.py b/test/test_cache.py index 1dcd70ca..eebaafd9 100644 --- a/test/test_cache.py +++ b/test/test_cache.py @@ -46,25 +46,6 @@ def load_stored_item(grammar, path, item): return item -@pytest.mark.skip("This is currently not something we have implemented.") -@pytest.mark.usefixtures("isolated_jedi_cache") -def test_modulepickling_delete_incompatible_cache(): - item = _NodeCacheItem('fake parser', []) - path = 'fake path' - - cache1 = ParserPicklingCls() - cache1.version = 1 - grammar = load_grammar() - cache1.save_item(grammar, path, item) - cached1 = load_stored_item(grammar, cache1, path, item) - assert cached1 == item.node - - cache2 = ParserPicklingCls() - cache2.version = 2 - cached2 = load_stored_item(grammar, cache2, path, item) - assert cached2 is None - - @pytest.mark.usefixtures("isolated_jedi_cache") def test_modulepickling_simulate_deleted_cache(tmpdir): """