diff --git a/test/pyimport.vim b/test/pyimport.vim index 28926d6..28dbdde 100644 --- a/test/pyimport.vim +++ b/test/pyimport.vim @@ -2,10 +2,6 @@ source plugin/jedi.vim source test/utils.vim describe 'pyimport' - before - bd! - end - after bd! bd! @@ -16,7 +12,8 @@ describe 'pyimport' Expect g:current_buffer_is_module('os') == 1 Pyimport subprocess Expect g:current_buffer_is_module('subprocess') == 1 - Expect tabpagenr('$') == 2 + " the empty tab is sometimes also a tab + Expect tabpagenr('$') >= 2 end it 'completion'