Skip to content

Commit

Permalink
fix failing test suite
Browse files Browse the repository at this point in the history
  • Loading branch information
kain88-de committed Jan 13, 2017
1 parent bee870f commit 981cc7a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion testsuite/MDAnalysisTests/analysis/test_encore.py
Original file line number Diff line number Diff line change
Expand Up @@ -850,7 +850,7 @@ class TestEncoreImportWarnings(object):
def setUp(self):
# clear cache of encore module
for mod in list(sys.modules): # list as we're changing as we iterate
if '.encore' in mod:
if '.encore' in mod or 'sklearn' in mod or 'scipy' in mod:
sys.modules.pop(mod, None)

@block_import('sklearn')
Expand Down

0 comments on commit 981cc7a

Please sign in to comment.