Beispiel #1
0
 def setUp(self):
     _BufferTestCaseBase.setUp(self)
     self.doc.buffer, self.positions = unmark_text(dedent(u"""
         # Ťĥíš ƒíłé ĥáš Ůɳíčóďé ťéхť ťó ťéšť ƀýťé νš čĥář ƿóšíťíóɳš
         def silly():
             indent = 4<5>
             import <1>pprint
             pprint.pformat(<2>obj, indent<3>, width, depth)
         def other_method():
             pass<6>
         def third_method():
             pass<7>
         """).strip())
Beispiel #2
0
 def setUp(self):
     _BufferTestCaseBase.setUp(self)
     self.doc.buffer, self.positions = unmark_text(dedent(u"""
         # Ťĥíš ƒíłé ĥáš Ůɳíčóďé ťéхť ťó ťéšť ƀýťé νš čĥář ƿóšíťíóɳš
         def silly():
             indent = 4<5>
             import <1>pprint
             pprint.pformat(<2>obj, indent<3>, width, depth)
         def other_method():
             pass<6>
         def third_method():
             pass<7>
         """).strip())
Beispiel #3
0
 def setUp(self):
     _BufferTestCaseBase.setUp(self)
     # Must make sure the temporary document has the XPCOM catalog selected
     # so we will actually use the right completions.
     self.doc.prefs.setStringPref("codeintel_selected_catalogs",
                                  '["xpcom"]')
Beispiel #4
0
 def setUp(self):
     _BufferTestCaseBase.setUp(self)
     # Must make sure the temporary document has the XPCOM catalog selected
     # so we will actually use the right completions.
     self.doc.prefs.setStringPref(
         "codeintel_selected_catalogs", '["xpcom"]')