Mercurial > vim
annotate src/testdir/pyxfile/py2_magic.py @ 19409:ba6afd154f91 v8.2.0262
patch 8.2.0262: fileformat test fails on MS-Windows
Commit: https://github.com/vim/vim/commit/50434bd74c7708e3e2a47449b6a3a8d9fa069f71
Author: Bram Moolenaar <Bram@vim.org>
Date: Sun Feb 16 14:55:22 2020 +0100
patch 8.2.0262: fileformat test fails on MS-Windows
Problem: Fileformat test fails on MS-Windows.
Solution: Set fileformat of buffer.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sun, 16 Feb 2020 15:00:03 +0100 |
parents | 7598ce51bf2a |
children |
rev | line source |
---|---|
10722
7598ce51bf2a
patch 8.0.0251: not easy to select Python 2 or 3
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
1 # requires python 2.x |
7598ce51bf2a
patch 8.0.0251: not easy to select Python 2 or 3
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
2 |
7598ce51bf2a
patch 8.0.0251: not easy to select Python 2 or 3
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
3 import sys |
7598ce51bf2a
patch 8.0.0251: not easy to select Python 2 or 3
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
4 print(sys.version) |