summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/test_manager.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/test_manager.py b/tests/test_manager.py
index f90be5c8..9b9b24fe 100644
--- a/tests/test_manager.py
+++ b/tests/test_manager.py
@@ -430,6 +430,8 @@ class ClearCacheTest(unittest.TestCase):
astroid.MANAGER.clear_cache() # also calls bootstrap()
+ self.assertEqual(astroid.context._INFERENCE_CACHE, {})
+
# The cache sizes are now as low or lower than the original baseline
cleared_cache_infos = [lru.cache_info() for lru in lrus]
for cleared_cache, baseline_cache in zip(