summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorSylvain Thénault <sylvain.thenault@logilab.fr>2014-04-08 14:10:59 +0200
committerSylvain Thénault <sylvain.thenault@logilab.fr>2014-04-08 14:10:59 +0200
commit7cfa6cebf8c6bab2bcdca3347e85b12223be5129 (patch)
tree529e73a32794a0d5c9b515c1c12b8e5c1b80212f /test
parent147e785eb915d8ae7e8dcad334a7b6f6a8f769be (diff)
downloadastroid-git-7cfa6cebf8c6bab2bcdca3347e85b12223be5129.tar.gz
fix failing test when the whole test are executed, due to caching issue
Diffstat (limited to 'test')
-rw-r--r--test/unittest_builder.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/unittest_builder.py b/test/unittest_builder.py
index 54115393..0d0ba470 100644
--- a/test/unittest_builder.py
+++ b/test/unittest_builder.py
@@ -353,6 +353,7 @@ class BuilderTC(TestCase):
def test_inspect_transform_module(self):
# ensure no cached version of the time module
MANAGER._mod_file_cache.pop(('time', None), None)
+ MANAGER.astroid_cache.pop('time', None)
def transform_time(node):
if node.name == 'time':
node.transformed = True