X-Git-Url: https://git.madduck.net/etc/vim.git/blobdiff_plain/47480ca33143b250cb33ba501f201838269173ce..43b53a034c9e3ada9295bf7f93be473b66b74f75:/.vim/bundle/black/tests/data/miscellaneous/python2_detection.py diff --git a/.vim/bundle/black/tests/data/miscellaneous/python2_detection.py b/.vim/bundle/black/tests/data/miscellaneous/python2_detection.py deleted file mode 100644 index 8de2bb58..00000000 --- a/.vim/bundle/black/tests/data/miscellaneous/python2_detection.py +++ /dev/null @@ -1,90 +0,0 @@ -# This uses a similar construction to the decorators.py test data file FYI. - -print "hello, world!" - -### - -exec "print('hello, world!')" - -### - -def set_position((x, y), value): - pass - -### - -try: - pass -except Exception, err: - pass - -### - -raise RuntimeError, "I feel like crashing today :p" - -### - -`wow_these_really_did_exist` - -### - -10L - -### - -10l - -### - -0123 - -# output - -print("hello python three!") - -### - -exec("I'm not sure if you can use exec like this but that's not important here!") - -### - -try: - pass -except make_exception(1, 2): - pass - -### - -try: - pass -except Exception as err: - pass - -### - -raise RuntimeError(make_msg(1, 2)) - -### - -raise RuntimeError("boom!",) - -### - -def set_position(x, y, value): - pass - -### - -10 - -### - -0 - -### - -000 - -### - -0o12 \ No newline at end of file