MCPcopy Create free account
hub / github.com/bpython/bpython / setUp

Method setUp

bpython/test/test_autocomplete.py:120–121  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

118
119class TestFilenameCompletion(unittest.TestCase):
120 def setUp(self):
121 self.completer = autocomplete.FilenameCompletion()
122
123 def test_locate_fails_when_not_in_string(self):
124 self.assertEqual(self.completer.locate(4, "abcd"), None)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected