1
0
forked from VimPlug/jedi

fixed python3 build, because datetime in python3 is different than 2, so test was failing

This commit is contained in:
David Halter
2012-10-16 12:16:54 +02:00
parent 211ad9a640
commit 4074890364

View File

@@ -173,8 +173,8 @@ class TestRegression(unittest.TestCase):
def test_named_import(self):
""" named import - jedi-vim issue #8 """
s = "import datetime as dt"
assert len(api.Script(s, 1, 19, '/').get_definition()) == 1
s = "import time as dt"
assert len(api.Script(s, 1, 15, '/').get_definition()) == 1
assert len(api.Script(s, 1, 10, '/').get_definition()) == 1