(self)
| 12 | """Test find_spec() for built-in modules.""" |
| 13 | |
| 14 | def test_module(self): |
| 15 | # Common case. |
| 16 | with util.uncache(util.BUILTINS.good_name): |
| 17 | found = self.machinery.BuiltinImporter.find_spec(util.BUILTINS.good_name) |
| 18 | self.assertTrue(found) |
| 19 | self.assertEqual(found.origin, 'built-in') |
| 20 | |
| 21 | # Built-in modules cannot be a package. |
| 22 | test_package = None |
nothing calls this directly
no test coverage detected