Lines Matching refs:complete
19 self.stdcompleter.complete('', 0)
78 self.assertEqual(completer.complete('f.b', 0), 'f.bar')
93 self.assertEqual(completer.complete('False', 0), 'False')
94 self.assertIsNone(completer.complete('False', 1)) # No duplicates
95 self.assertEqual(completer.complete('assert', 0), 'assert')
96 self.assertIsNone(completer.complete('assert', 1))
97 self.assertEqual(completer.complete('try', 0), 'try')
98 self.assertIsNone(completer.complete('try', 1))
100 self.assertEqual(completer.complete('memoryview', 0), 'memoryview')
101 self.assertIsNone(completer.complete('memoryview', 1))
102 self.assertEqual(completer.complete('Ellipsis', 0), 'Ellipsis(')
103 self.assertIsNone(completer.complete('Ellipsis', 1))