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

Method test_escape_path

Lib/test/test_http_cookiejar.py:792–793  ·  view source on GitHub ↗
(self, arg, result)

Source from the content-addressed store, hash-verified

790 ("/foo/bar\uabcd", "/foo/bar%EA%AF%8D"), # UTF-8 encoded
791 ])
792 def test_escape_path(self, arg, result):
793 self.assertEqual(escape_path(arg), result)
794
795 def test_request_path(self):
796 # with parameters

Callers

nothing calls this directly

Calls 2

escape_pathFunction · 0.90
assertEqualMethod · 0.45

Tested by

no test coverage detected