forked from VimPlug/jedi
pep8
This commit is contained in:
@@ -251,7 +251,6 @@ class TestRegression(Base):
|
||||
assert len(api.Script(s, 1, 15, '/').get_definition()) == 1
|
||||
assert len(api.Script(s, 1, 10, '/').get_definition()) == 1
|
||||
|
||||
|
||||
def test_unicode_script(self):
|
||||
""" normally no unicode objects are being used. (<=2.7) """
|
||||
s = unicode("import datetime; datetime.timedelta")
|
||||
@@ -303,7 +302,8 @@ class TestRegression(Base):
|
||||
assert [d.doc for d in defs]
|
||||
|
||||
def test_goto_following_on_imports(self):
|
||||
if not is_py25:
|
||||
if is_py25:
|
||||
return
|
||||
g = self.goto("import multiprocessing.dummy; multiprocessing.dummy")
|
||||
assert len(g) == 1
|
||||
assert g[0].start_pos != (0, 0)
|
||||
|
||||
Reference in New Issue
Block a user