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

Method test_issue44061

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

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls 2

PathClass · 0.90
failMethod · 0.45

Tested by

no test coverage detected