Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/bpython/bpython
/ mock_next
Function
mock_next
bpython/test/test_curtsies_repl.py:105–106 ·
view source on GitHub ↗
(obj, return_value)
Source
from the content-addressed store, hash-verified
103
104
105
def
mock_next(obj, return_value):
106
obj.__next__.return_value = return_value
107
108
109
class
TestCurtsiesReplTab(TestCase):
Callers
2
test_tab_with_no_matches_selects_first
Method · 0.85
test_tab_with_matches_selects_next_match
Method · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected