##### SUMMARY
fact_cache contains call to Display.deprecated or AnsibleModule.deprecate and is scheduled for removal

```
lib/ansible/vars/fact_cache.py:99:12: ansible-deprecated-version: Deprecated version ('2.12') found in call to Display.deprecated or AnsibleModule.deprecate (0%)
```

##### ISSUE TYPE
 - Bug Report

##### COMPONENT NAME
```
lib/ansible/vars/fact_cache.py
```

##### ANSIBLE VERSION
```
2.12
```

##### CONFIGURATION
N/A

##### OS / ENVIRONMENT
N/A

##### STEPS TO REPRODUCE
N/A

##### EXPECTED RESULTS
N/A

##### ACTUAL RESULTS
N/A

pass
        with self.assertRaises(TypeError):
            CacheModule1()  
        class CacheModule2(BaseCacheModule):
            def get(self, key):
                super(CacheModule2, self).get(key)
        with self.assertRaises(TypeError):
            CacheModule2()  
    def test_subclass_success(self):
        class CacheModule3(BaseCacheModule):
            def get(self, key):
                super(CacheModule3, self).get(key)
            def set(self, key, value):
                super(CacheModule3, self).set(key, value)
            def keys(self):
                super(CacheModule3, self).keys()
            def contains(self, key):
                super(CacheModule3, self).contains(key)
            def delete(self, key):
                super(CacheModule3, self).delete(key)
            def flush(self):
                super(CacheModule3, self).flush()
            def copy(self):
                super(CacheModule3, self).copy()
        self.assertIsInstance(CacheModule3(), CacheModule3)
    def test_memory_cachemodule(self):
        self.assertIsInstance(MemoryCache(), MemoryCache)
    def test_memory_cachemodule_with_loader(self):
        self.assertIsInstance(cache_loader.get('memory'), MemoryCache)