Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(3)  |  Call(3)  |  Derive(0)  |  Import(0)

src/v/i/vim-localcomplete-HEAD/pylibs/thirdparty_tests.py   vim-localcomplete(Download)
    def test_normal_string(self):
        reprer = thirdparty.PythonToVimStr('without any special cases')
        self.assertEqual(repr(reprer), r'"without any special cases"')
 
    def test_embedded_double_quotes(self):
        reprer = thirdparty.PythonToVimStr('contains \"double\" qoutes')
        self.assertEqual(repr(reprer), r'"contains \"double\" qoutes"')
 
    def test_embedded_unicode(self):
        reprer = thirdparty.PythonToVimStr(u'der \u00fcberfu\u00df')