  
  Bugfixes
  ========
  
  * ...
 
</s> remove         with self.assertRaisesMessage(InvalidCacheKey, msg):
 </s> add         with self.assertRaises(InvalidCacheKey) as cm: </s> remove             with self.assertWarnsMessage(CacheKeyWarning, expected_warning):
 </s> add             with self.assertWarns(CacheKeyWarning) as cm:
* Fixed messages of ``InvalidCacheKey`` exceptions and ``CacheKeyWarning``
  warnings raised by cache key validation (:ticket:`31654`).
  
  Bugfixes
  ========
  
* Fixed messages of ``InvalidCacheKey`` exceptions and ``CacheKeyWarning``
  warnings raised by cache key validation (:ticket:`31654`).
keep keep keep keep replace
 Fixed #31654 -- Fixed cache key validation messages. 
docs/releases/3.0.8.txt