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

failing test on windows #166

Closed
timeyyy opened this issue Feb 23, 2016 · 0 comments
Closed

failing test on windows #166

timeyyy opened this issue Feb 23, 2016 · 0 comments

Comments

@timeyyy
Copy link
Contributor

timeyyy commented Feb 23, 2016

FAIL: test_vim.test_command
----------------------------------------------------------------------
Traceback (most recent call last):
  File "c:\python34\lib\site-packages\nose\case.py", line 198, in runTest
    self.test(*self.arg)
  File "C:\Users\timeyyy\Documents\git\python-client\test\test_vim.py", line 24, in test_command
    eq(open(fname).read(), 'testing\npython\napi\n')
nose.proxy.AssertionError: '\ntesting\npython\napi\n' != 'testing\npython\napi\n'

@equalsraf said

I was able to skip the error by removing the vim.input('\r') line, so it would seem the input is affecting the other command. But in any case the os.unlink() is also problematic in Windows because the file is still open in Vim.

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

No branches or pull requests

1 participant