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

Method test_directories

Lib/test/test_unicode_file.py:127–136  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

125 self._test_single(TESTFN_UNENCODABLE)
126
127 def test_directories(self):
128 # For all 'equivalent' combinations:
129 # Make dir with encoded, chdir with unicode, checkdir with encoded
130 # (or unicode/encoded/unicode, etc
131 ext = ".dir"
132 self._do_directory(TESTFN_UNICODE+ext, TESTFN_UNICODE+ext)
133 # Our directory name that can't use a non-unicode name.
134 if TESTFN_UNENCODABLE is not None:
135 self._do_directory(TESTFN_UNENCODABLE+ext,
136 TESTFN_UNENCODABLE+ext)
137
138
139if __name__ == "__main__":

Callers

nothing calls this directly

Calls 1

_do_directoryMethod · 0.95

Tested by

no test coverage detected