MCPcopy Index your code
hub / github.com/RustPython/RustPython / setUp

Method setUp

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

Source from the content-addressed store, hash-verified

2696
2697class TestWhichBytes(TestWhich):
2698 def setUp(self):
2699 TestWhich.setUp(self)
2700 self.dir = os.fsencode(self.dir)
2701 self.file = os.fsencode(self.file)
2702 self.filepath = os.fsencode(self.filepath)
2703 self.other_dir = os.fsencode(self.other_dir)
2704 self.curdir = os.fsencode(self.curdir)
2705 self.ext = os.fsencode(self.ext)
2706
2707 to_text_type = staticmethod(os.fsencode)
2708

Callers

nothing calls this directly

Calls 2

fsencodeMethod · 0.80
setUpMethod · 0.45

Tested by

no test coverage detected