Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Build failing on Python 3.6 #2

Open
yorodm opened this issue Mar 12, 2019 · 0 comments
Open

Build failing on Python 3.6 #2

yorodm opened this issue Mar 12, 2019 · 0 comments

Comments

@yorodm
Copy link
Owner

yorodm commented Mar 12, 2019

The current code fails when tested against Python 3.6.

Travis logs says:

def test_goto_definition_finds_line():
            server.workspace.get_document = Mock(return_value=fake_document)
            params = TextDocumentPositionParams(
                TextDocumentIdentifier(fake_document_uri),
                Position(1, 21)
            )
            definition = jump_to_definition(server, params)[0]
            start = definition.range.start
>           assert start.line == 350 and start.character == 6
E           assert (340 == 350)
E            +  where 340 = 340:6.line
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant