Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

Fixing issue #398: buf1 != buf2 doesn't work in python2 #400

Merged
merged 2 commits into from
Jun 22, 2019

Conversation

noelevans
Copy link
Contributor

Adding ne function to pynvim.api.buffer.Buffer to correctly test
two buffers are not equal in Python 2. Test added to demonstrate.

Also fixing warning message in test_buffer:96

Adding __ne__ function to pynvim.api.buffer.Buffer to correctly test
two buffers are not equal in Python 2. Test added to demonstrate.
DeprecationWarning: invalid escape sequence \s
    assert vim.options['define'] == '^\s*#\s*define'
@justinmk justinmk merged commit 58ff62f into neovim:master Jun 22, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants