@@ -223,15 +223,14 @@ def test_magic_methods_complete_after_double_underscores(self):
223
223
Comp = namedtuple ('Completion' , ['name' , 'complete' ])
224
224
225
225
226
+ @unittest .skipUnless (has_jedi , "jedi required" )
226
227
class TestMultilineJediCompletion (unittest .TestCase ):
227
228
228
- @unittest .skipIf (not has_jedi , "jedi not available" )
229
229
def test_returns_none_with_single_line (self ):
230
230
com = autocomplete .MultilineJediCompletion ()
231
231
self .assertEqual (com .matches (2 , 'Va' , current_block = 'Va' , history = []),
232
232
None )
233
233
234
- @unittest .skipIf (not has_jedi , "jedi not available" )
235
234
def test_returns_non_with_blank_second_line (self ):
236
235
com = autocomplete .MultilineJediCompletion ()
237
236
self .assertEqual (com .matches (0 , '' , current_block = 'class Foo():\n ' ,
@@ -246,14 +245,12 @@ def matches_from_completions(self, cursor, line, block, history,
246
245
return com .matches (cursor , line , current_block = block ,
247
246
history = history )
248
247
249
- @unittest .skipIf (not has_jedi , "jedi not available" )
250
248
def test_completions_starting_with_different_letters (self ):
251
249
matches = self .matches_from_completions (
252
250
2 , ' a' , 'class Foo:\n a' , ['adsf' ],
253
251
[Comp ('Abc' , 'bc' ), Comp ('Cbc' , 'bc' )])
254
252
self .assertEqual (matches , None )
255
253
256
- @unittest .skipIf (not has_jedi , "jedi not available" )
257
254
def test_completions_starting_with_different_cases (self ):
258
255
matches = self .matches_from_completions (
259
256
2 , ' a' , 'class Foo:\n a' , ['adsf' ],
0 commit comments