Skip to content

Test failures on OpenBSD #416

@vext01

Description

@vext01

On 0.4.0, with Python-3.7.5 and neovim-0.4.3, I've got:

=================================== FAILURES ===================================
__________________________________ test_repr ___________________________________

vim = <pynvim.api.nvim.Nvim object at 0xee53c6e5c10>

    def test_repr(vim):
>       assert repr(vim.current.buffer) == "<Buffer(handle=1)>"
E       AssertionError: assert '<Buffer(handle=2)>' == '<Buffer(handle=1)>'
E         - <Buffer(handle=2)>
E         ?                ^
E         + <Buffer(handle=1)>
E         ?                ^

test/test_buffer.py:10: AssertionError
__________________________________ test_repr ___________________________________

vim = <pynvim.api.nvim.Nvim object at 0xee506337ad0>

    def test_repr(vim):
>       assert repr(vim.current.tabpage) == "<Tabpage(handle=1)>"
E       AssertionError: assert '<Tabpage(handle=2)>' == '<Tabpage(handle=1)>'
E         - <Tabpage(handle=2)>
E         ?                 ^
E         + <Tabpage(handle=1)>
E         ?                 ^

test/test_tabpage.py:48: AssertionError
__________________________________ test_repr ___________________________________

vim = <pynvim.api.nvim.Nvim object at 0xee5f5135110>

    def test_repr(vim):
>       assert repr(vim.current.window) == "<Window(handle=1000)>"
E       AssertionError: assert '<Window(handle=1001)>' == '<Window(handle=1000)>'
E         - <Window(handle=1001)>
E         ?                   ^
E         + <Window(handle=1000)>
E         ?                   ^

test/test_window.py:124: AssertionError

However, I don't seem to get this on master when running py.test out of the source dir, yet they are the same commit.

I'm confused. Any ideas?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions