Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/python/cpython
/ close
Method
close
Lib/test/test_mailbox.py:1530–1531 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
1528
self.closed = False
1529
1530
def
close(self):
1531
self.closed = True
1532
1533
1534
class
FakeMailBox(mailbox.Mailbox):
Callers
15
tearDown
Method · 0.45
test_add_that_raises_leaves_mailbox_empty
Method · 0.45
test_add_nonascii_StringIO_raises
Method · 0.45
test_get
Method · 0.45
test_get_file_can_be_closed_twice
Method · 0.45
_test_flush_or_close
Method · 0.45
test_create_tmp
Method · 0.45
test_add_doesnt_rewrite
Method · 0.45
tearDown
Method · 0.45
test_open_close_open
Method · 0.45
test_add_and_close
Method · 0.45
test_relock
Method · 0.45
Calls
no outgoing calls
Tested by
no test coverage detected