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

Method setUp

Lib/test/test_shutil.py:2724–2731  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

2722
2723class TestWhichBytes(TestWhich):
2724 def setUp(self):
2725 TestWhich.setUp(self)
2726 self.dir = os.fsencode(self.dir)
2727 self.file = os.fsencode(self.file)
2728 self.filepath = os.fsencode(self.filepath)
2729 self.other_dir = os.fsencode(self.other_dir)
2730 self.curdir = os.fsencode(self.curdir)
2731 self.ext = os.fsencode(self.ext)
2732
2733 to_text_type = staticmethod(os.fsencode)
2734

Callers

nothing calls this directly

Calls 1

setUpMethod · 0.45

Tested by

no test coverage detected