MCPcopy Index your code
hub / github.com/python/cpython / setUp

Method setUp

Lib/test/test_pyrepl/test_terminfo.py:50–51  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

48 cls.infocmp("dumb")
49
50 def setUp(self):
51 self.original_term = os.environ.get("TERM", None)
52
53 def tearDown(self):
54 if self.original_term is not None:

Callers

nothing calls this directly

Calls 1

getMethod · 0.45

Tested by

no test coverage detected