Skip to content

Instantly share code, notes, and snippets.

@averagehat
Created September 28, 2015 22:24
Show Gist options
  • Save averagehat/32afe838aff91af2d5c3 to your computer and use it in GitHub Desktop.
Save averagehat/32afe838aff91af2d5c3 to your computer and use it in GitHub Desktop.
michaelpanciera@michaelpanciera-Lenovo-Z580:~/snake2$ python tests.py
VIM - Vi IMproved 7.4 (2013 Aug 10, compiled Jan 2 2014 19:39:32)
Included patches: 1-52
Modified by pkg-vim-maintainers@lists.alioth.debian.org
Compiled by buildd@
Huge version without GUI. Features included (+) or not (-):
+acl +farsi +mouse_netterm +syntax
+arabic +file_in_path +mouse_sgr +tag_binary
+autocmd +find_in_path -mouse_sysmouse +tag_old_static
-balloon_eval +float +mouse_urxvt -tag_any_white
-browse +folding +mouse_xterm -tcl
++builtin_terms -footer +multi_byte +terminfo
+byte_offset +fork() +multi_lang +termresponse
+cindent +gettext -mzscheme +textobjects
-clientserver -hangul_input +netbeans_intg +title
-clipboard +iconv +path_extra -toolbar
+cmdline_compl +insert_expand -perl +user_commands
+cmdline_hist +jumplist +persistent_undo +vertsplit
+cmdline_info +keymap +postscript +virtualedit
+comments +langmap +printer +visual
+conceal +libcall +profile +visualextra
+cryptv +linebreak +python +viminfo
+cscope +lispindent -python3 +vreplace
+cursorbind +listcmds +quickfix +wildignore
+cursorshape +localmap +reltime +wildmenu
+dialog_con -lua +rightleft +windows
+diff +menu -ruby +writebackup
+digraphs +mksession +scrollbind -X11
-dnd +modify_fname +signs -xfontset
-ebcdic +mouse +smartindent -xim
+emacs_tags -mouseshape -sniff -xsmp
+eval +mouse_dec +startuptime -xterm_clipboard
+ex_extra +mouse_gpm +statusline -xterm_save
+extra_search -mouse_jsbterm -sun_workshop -xpm
system vimrc file: "$VIM/vimrc"
user vimrc file: "$HOME/.vimrc"
2nd user vimrc file: "~/.vim/vimrc"
user exrc file: "$HOME/.exrc"
fall-back for $VIM: "/usr/share/vim"
Compilation: gcc -c -I. -Iproto -DHAVE_CONFIG_H -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1
Linking: gcc -Wl,-Bsymbolic-functions -Wl,-z,relro -Wl,--as-needed -o vim -lm -ltinfo -lnsl -lselinux -lacl -lattr -lgpm -ldl -L/usr/lib/python2.7/config-x86_64-linux-gnu -lpython2.7 -lpthread -ldl -lutil -lm -Xlinker -export-dynamic -Wl,-O1 -Wl,-Bsymbolic-functions
test_get_buffers (__main__.BufferTests) ...
##
## and when I interrupt:
##
test_get_buffers (__main__.BufferTests) ... ^CTraceback (most recent call last):
File "tests.py", line 613, in <module>
unittest.main(verbosity=2)
File "/home/michaelpanciera/anaconda/lib/python2.7/unittest/main.py", line 95, in __init__
self.runTests()
File "/home/michaelpanciera/anaconda/lib/python2.7/unittest/main.py", line 232, in runTests
self.result = testRunner.run(self.test)
File "/home/michaelpanciera/anaconda/lib/python2.7/unittest/runner.py", line 151, in run
test(result)
File "/home/michaelpanciera/anaconda/lib/python2.7/unittest/suite.py", line 70, in __call__
return self.run(*args, **kwds)
File "/home/michaelpanciera/anaconda/lib/python2.7/unittest/suite.py", line 108, in run
test(result)
File "/home/michaelpanciera/anaconda/lib/python2.7/unittest/suite.py", line 70, in __call__
return self.run(*args, **kwds)
File "/home/michaelpanciera/anaconda/lib/python2.7/unittest/suite.py", line 108, in run
test(result)
File "/home/michaelpanciera/anaconda/lib/python2.7/unittest/case.py", line 395, in __call__
return self.run(*args, **kwds)
File "/home/michaelpanciera/anaconda/lib/python2.7/unittest/case.py", line 331, in run
testMethod()
File "tests.py", line 527, in test_get_buffers
changed, output = run_vim(script, self.sample_text, commands=["qa!"])
File "tests.py", line 82, in run_vim
p = sh.vim(*args, _tty_in=True, _env=env)
File "/home/michaelpanciera/anaconda/lib/python2.7/site-packages/sh.py", line 1021, in __call__
return RunningCommand(cmd, call_args, stdin, stdout, stderr)
File "/home/michaelpanciera/anaconda/lib/python2.7/site-packages/sh.py", line 486, in __init__
self.wait()
File "/home/michaelpanciera/anaconda/lib/python2.7/site-packages/sh.py", line 493, in wait
exit_code = self.process.wait()
File "/home/michaelpanciera/anaconda/lib/python2.7/site-packages/sh.py", line 1601, in wait
pid, exit_code = os.waitpid(self.pid, 0) # blocks
KeyboardInterrupt
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment