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

Method test_issue44061

Lib/test/test_pkgutil.py:616–620  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

614 self.assertEqual(len(w.warnings), 0)
615
616 def test_issue44061(self):
617 try:
618 pkgutil.get_importer(Path("/home"))
619 except AttributeError:
620 self.fail("Unexpected AttributeError when calling get_importer")
621
622 def test_iter_importers_avoids_emulation(self):
623 with check_warnings() as w:

Callers

nothing calls this directly

Calls 2

PathClass · 0.90
failMethod · 0.45

Tested by

no test coverage detected