Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/python/cpython
/ setUp
Method
setUp
Lib/test/test__locale.py:112–113 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
110
class
_LocaleTests(unittest.TestCase):
111
112
def
setUp(self):
113
self.oldlocale = setlocale(LC_ALL)
114
115
def
tearDown(self):
116
setlocale(LC_ALL, self.oldlocale)
Callers
nothing calls this directly
Calls
1
setlocale
Function · 0.85
Tested by
no test coverage detected