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

Method test_expanduser

Lib/test/test_posixpath.py:300–302  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

298 self.assertFalse(inspect.isfunction(os.path.normpath))
299
300 def test_expanduser(self):
301 self.assertEqual(posixpath.expanduser("foo"), "foo")
302 self.assertEqual(posixpath.expanduser(b"foo"), b"foo")
303
304 def test_expanduser_home_envvar(self):
305 with os_helper.EnvironmentVarGuard() as env:

Callers

nothing calls this directly

Calls 2

expanduserMethod · 0.80
assertEqualMethod · 0.45

Tested by

no test coverage detected