diff options
author | Ned Batchelder <ned@nedbatchelder.com> | 2016-01-09 09:11:36 -0500 |
---|---|---|
committer | Ned Batchelder <ned@nedbatchelder.com> | 2016-01-09 09:11:36 -0500 |
commit | e3247273ccb6679c240d1e8ab95bcd82d2906bb1 (patch) | |
tree | 41e15a2263a89f3a59057cd10f5943fa6bfcd900 | |
parent | 0ed15e7facee88633c24d887112bcf9f729d380d (diff) | |
download | python-coveragepy-git-e3247273ccb6679c240d1e8ab95bcd82d2906bb1.tar.gz |
Fix a string that was confusing vim
-rw-r--r-- | tests/test_phystokens.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/test_phystokens.py b/tests/test_phystokens.py index 380f36ff..0bbf8ea2 100644 --- a/tests/test_phystokens.py +++ b/tests/test_phystokens.py @@ -197,5 +197,7 @@ class CompileUnicodeTest(CoverageTest): self.assert_compile_unicode(uni) def test_double_coding_declaration(self): - uni = u"""# -*- coding:utf-8 -*-\n# vim: fileencoding=utf-8\n""" + # Build this string in a weird way so that actual vim's won't try to + # interpret it... + uni = u"# -*- coding:utf-8 -*-\n# v" "im: fileencoding=utf-8\n" self.assert_compile_unicode(uni) |