Fixed issue with repr encoding (fixes davidhalter/jedi-vim#94)

This commit is contained in:
Danilo Bargen
2013-02-14 21:10:06 +01:00
parent 3ab2b0a244
commit ea9a667425
4 changed files with 10 additions and 6 deletions

View File

@@ -265,7 +265,7 @@ class TestRegression(TestBase):
completions1 = self.complete(s1)
assert 'strip' in [c.word for c in completions1]
s2 = utf8('#-*- coding: utf-8 -*-\nclass Person():\n name = "é"\n\nPerson().name.')
completions = self.complete(s2)
completions2 = self.complete(s2)
assert 'strip' in [c.word for c in completions2]
def test_os_nowait(self):